CmdID

CmdID / aws / aws autoscaling

aws autoscaling delete-lifecycle-hook

Deletes the specified lifecycle hook. 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 delete a lifecycle hook

The following delete-lifecycle-hook example deletes the specified lifecycle hook.

aws autoscaling delete-lifecycle-hook --lifecycle-hook-name my-lifecycle-hook --auto-scaling-group-name my-asgIdentify
--lifecycle-hook-nameThe name of the lifecycle hook.
--auto-scaling-group-nameThe name of the Auto Scaling group.

This command produces no output.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks 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.
--lifecycle-hook-nameThe name of the lifecycle hook.