AutoScalingGroupMetricsCollectionArgs

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

`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: Output<String>, metrics: Output<List<String>>? = null)

Properties

Link copied to clipboard
val granularity: Output<String>

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: Output<List<String>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): AutoScalingGroupMetricsCollectionArgs