AWSAutoScalingEnableMetricsCollectionQuery Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSAutoScalingModel.h


Contains the parameters for EnableMetricsCollection.

Required parameters: [AutoScalingGroupName, Granularity]


The name or ARN of the Auto Scaling group.

@property (nonatomic, strong) NSString *autoScalingGroupName

Declared In



The granularity to associate with the metrics to collect. The only valid value is 1Minute.

@property (nonatomic, strong) NSString *granularity

Declared In



One or more of the following metrics. If you omit this parameter, all metrics are enabled.

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

Note that the GroupStandbyInstances metric is not enabled by default. You must explicitly request this metric.

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

Declared In