CmdID / aws / aws autoscaling
aws autoscaling suspend-processes
Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To suspend Auto Scaling processes
The following suspend-processes example suspends the specified scaling process for the specified Auto Scaling group.
aws autoscaling suspend-processes --auto-scaling-group-name my-asg --scaling-processes AlarmNotificationIdentify--auto-scaling-group-nameThe name of the Auto Scaling group.--scaling-processesOne or more of the following processes: Launch Terminate AddToLoadBalancer AlarmNotification AZRebalance HealthCheck InstanceRefresh ReplaceUnhealthy ScheduledActions If you omit this property, all processes are specified.This command produces no output.
For more information, see Suspending and resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.
Options
--auto-scaling-group-nameThe name of the Auto Scaling group.--scaling-processesOne or more of the following processes: Launch Terminate AddToLoadBalancer AlarmNotification AZRebalance HealthCheck InstanceRefresh ReplaceUnhealthy ScheduledActions If you omit this property, all processes are specified.