CmdID / aws / aws autoscaling
aws autoscaling rollback-instance-refresh
Cancels an instance refresh that is in progress and rolls back any changes that it made. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To roll back an instance refresh
The following rollback-instance-refresh example rolls back an in-progress instance refresh for the specified Auto Scaling group.
aws autoscaling rollback-instance-refresh --auto-scaling-group-name my-asgIdentify--auto-scaling-group-nameThe name of the Auto Scaling group.Its output
{
"InstanceRefreshId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see Undo changes with a rollback in the Amazon EC2 Auto Scaling User Guide.
Options
--auto-scaling-group-nameThe name of the Auto Scaling group.