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:StringMetrics: -String
Properties
Granularity-
The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. For example, you can specify
1Minuteto send aggregated data to CloudWatch every minute.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
