CmdID

CmdID / aws / aws autoscaling

aws autoscaling complete-lifecycle-action

Completes the lifecycle action for the specified token or instance with the specified result. AWS CLI reference

1 example 5 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 complete the lifecycle action

The following complete-lifecycle-action example notifies Amazon EC2 Auto Scaling that the specified lifecycle action is complete so that it can finish launching or terminating the instance.

aws autoscaling complete-lifecycle-action --lifecycle-hook-name my-launch-hook --auto-scaling-group-name my-asg --lifecycle-action-result CONTINUE --lifecycle-action-token a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify
--lifecycle-hook-nameThe name of the lifecycle hook.
--auto-scaling-group-nameThe name of the Auto Scaling group.
--lifecycle-action-resultThe action for the group to take.
--lifecycle-action-tokenA universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.

This command produces no output.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

Options

5 in the AWS CLI reference
--auto-scaling-group-nameThe name of the Auto Scaling group.
--instance-idThe ID of the instance.
--lifecycle-action-resultThe action for the group to take.
--lifecycle-action-tokenA universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.
--lifecycle-hook-nameThe name of the lifecycle hook.