AWS::AutoScaling::AutoScalingGroup MetricsCollection - AWS CloudFormation

AWS::AutoScaling::AutoScalingGroup MetricsCollection

MetricsCollection is a property of the AWS::AutoScaling::AutoScalingGroup resource that describes the group metrics that an Amazon EC2 Auto Scaling group sends to Amazon CloudWatch. These metrics describe the group rather than any of its instances.

For more information, see Monitoring CloudWatch metrics for your Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide. You can find a sample template snippet in the Examples section of the AWS::AutoScaling::AutoScalingGroup documentation.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Granularity" : String, "Metrics" : [ String, ... ] }


Granularity: String Metrics: - String



The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch.

Allowed Values: 1Minute

Required: Yes

Type: String

Update requires: No interruption


Specifies which group-level metrics to start collecting.

Allowed Values:

  • 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.

Required: No

Type: List of String

Update requires: No interruption