AWSAutoScalingEnableMetricsCollectionQuery

Objective-C

@interface AWSAutoScalingEnableMetricsCollectionQuery

Swift

class AWSAutoScalingEnableMetricsCollectionQuery
  • The name of the Auto Scaling group.

    Declaration

    Objective-C

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

    Swift

    var autoScalingGroupName: String? { get set }
  • The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is 1Minute.

    Declaration

    Objective-C

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

    Swift

    var granularity: String? { get set }
  • Identifies the metrics to enable.

    You can specify one or more of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    • WarmPoolDesiredCapacity

    • WarmPoolWarmedCapacity

    • WarmPoolPendingCapacity

    • WarmPoolTerminatingCapacity

    • WarmPoolTotalCapacity

    • GroupAndWarmPoolDesiredCapacity

    • GroupAndWarmPoolTotalCapacity

    If you specify Granularity and don’t specify any metrics, all metrics are enabled.

    For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

    Declaration

    Objective-C

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

    Swift

    var metrics: [String]? { get set }