AutoScalingGroupMetricsCollection

data class AutoScalingGroupMetricsCollection(val granularity: String, val metrics: List<String>? = null)

`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 Monitor 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` resource.

Constructors

Link copied to clipboard
constructor(granularity: String, metrics: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
val metrics: List<String>? = null

Identifies the metrics to enable. You can specify one or more of the following metrics: