MetricsCollectionResponse

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

Definition of MetricsCollection

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val granularity: String? = null

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: + `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. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.