The following code examples show how to use DeleteLifecycleHook
.
- AWS CLI
-
To delete a lifecycle hook
This example deletes the specified lifecycle hook.
aws autoscaling delete-lifecycle-hook \ --lifecycle-hook-name
my-lifecycle-hook
\ --auto-scaling-group-namemy-asg
This command produces no output.
-
For API details, see DeleteLifecycleHook
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Using this service with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.