class Aws::AutoScaling::Types::EnableMetricsCollectionQuery
@note When making an API call, you may pass EnableMetricsCollectionQuery
data as a hash: { auto_scaling_group_name: "XmlStringMaxLen255", # required metrics: ["XmlStringMaxLen255"], granularity: "XmlStringMaxLen255", # required }
@!attribute [rw] auto_scaling_group_name
The name of the Auto Scaling group. @return [String]
@!attribute [rw] metrics
Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics: * `GroupMinSize` * `GroupMaxSize` * `GroupDesiredCapacity` * `GroupInServiceInstances` * `GroupPendingInstances` * `GroupStandbyInstances` * `GroupTerminatingInstances` * `GroupTotalInstances` The instance weighting feature supports the following additional metrics: * `GroupInServiceCapacity` * `GroupPendingCapacity` * `GroupStandbyCapacity` * `GroupTerminatingCapacity` * `GroupTotalCapacity` The warm pools feature supports the following additional metrics: * `WarmPoolDesiredCapacity` * `WarmPoolWarmedCapacity` * `WarmPoolPendingCapacity` * `WarmPoolTerminatingCapacity` * `WarmPoolTotalCapacity` * `GroupAndWarmPoolDesiredCapacity` * `GroupAndWarmPoolTotalCapacity` If you omit this parameter, all metrics are enabled. @return [Array<String>]
@!attribute [rw] granularity
The granularity to associate with the metrics to collect. The only valid value is `1Minute`. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionQuery AWS API Documentation
Constants
- SENSITIVE