AWSAutoScalingEnableMetricsCollectionQuery

@interface AWSAutoScalingEnableMetricsCollectionQuery
  • The name of the Auto Scaling group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable autoScalingGroupName;

    Swift

    var autoScalingGroupName: String? { get set }
  • The granularity to associate with the metrics to collect. The only valid value is 1Minute.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable granularity;

    Swift

    var granularity: String? { get set }
  • Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    The instance weighting feature supports the following additional metrics:

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    If you omit this parameter, all metrics are enabled.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable metrics;

    Swift

    var metrics: [String]? { get set }