AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EC2 Auto Scaling AutoScalingGroup MetricsCollection

The 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 EnableMetricsCollection in the Amazon EC2 Auto Scaling API Reference.

Syntax

JSON

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

YAML

Granularity: String Metrics: - String

Properties

Granularity

The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is 1Minute.

Required: Yes

Type: String

Metrics

The list of metrics to collect. If you don't specify any metrics, all metrics are enabled.

Required: No

Type: List of String values

On this page: