Enables group metrics collection for the specified Auto Scaling group
Source:R/autoscaling_operations.R
autoscaling_enable_metrics_collection.RdEnables group metrics collection for the specified Auto Scaling group.
See https://www.paws-r-sdk.com/docs/autoscaling_enable_metrics_collection/ for full documentation.
Arguments
- AutoScalingGroupName
[required] The name of the Auto Scaling group.
- Metrics
Identifies the metrics to enable.
You can specify one or more of the following metrics:
GroupMinSizeGroupMaxSizeGroupDesiredCapacityGroupInServiceInstancesGroupPendingInstancesGroupStandbyInstancesGroupTerminatingInstancesGroupTotalInstancesGroupInServiceCapacityGroupPendingCapacityGroupStandbyCapacityGroupTerminatingCapacityGroupTotalCapacityWarmPoolDesiredCapacityWarmPoolWarmedCapacityWarmPoolPendingCapacityWarmPoolTerminatingCapacityWarmPoolTotalCapacityGroupAndWarmPoolDesiredCapacityGroupAndWarmPoolTotalCapacity
If you specify
Granularityand don't specify any metrics, all metrics are enabled.For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
- Granularity
[required] The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute.