deleteLifecycleHook

Deletes the specified lifecycle hook.

If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).

Samples

// This example deletes the specified lifecycle hook.
autoScalingClient.deleteLifecycleHook {
    lifecycleHookName = "my-lifecycle-hook"
    autoScalingGroupName = "my-auto-scaling-group"
}