CmdID

CmdID / aws / aws autoscaling

aws autoscaling disable-metrics-collection

Disables group metrics collection for the specified Auto Scaling group. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To disable metrics collection for an Auto Scaling group

The following disable-metrics-collection example disables collection of the GroupDesiredCapacity metric for the specified Auto Scaling group.

aws autoscaling disable-metrics-collection --auto-scaling-group-name my-asg --metrics GroupDesiredCapacityIdentify
--auto-scaling-group-nameThe name of the Auto Scaling group.
--metricsIdentifies the metrics to disable.

This command produces no output.

For more information, see Monitor CloudWatch metrics for your Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Options

2 in the AWS CLI reference
--auto-scaling-group-nameThe name of the Auto Scaling group.
--metricsIdentifies the metrics to disable.