CmdID / aws / aws autoscaling
aws autoscaling enter-standby
Moves the specified instances into the standby state. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--auto-scaling-group-nameThe name of the Auto Scaling group.--instance-idsThe IDs of the instances.--should-decrement-desired-capacityIndicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to Standby mode.