AWSAutoScalingEnableMetricsCollectionQuery Class Reference

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

Overview

Contains the parameters for EnableMetricsCollection.

Required parameters: [AutoScalingGroupName, Granularity]

  autoScalingGroupName

The name or ARN of the Auto Scaling group.

@property (nonatomic, strong) NSString *autoScalingGroupName

Declared In

AWSAutoScalingModel.h

  granularity

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

@property (nonatomic, strong) NSString *granularity

Declared In

AWSAutoScalingModel.h

  metrics

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

AWSAutoScalingModel.h