paws.management (version 0.1.0)

autoscaling_delete_lifecycle_hook: Deletes the specified lifecycle hook

Description

Deletes the specified lifecycle hook.

Usage

autoscaling_delete_lifecycle_hook(LifecycleHookName,
  AutoScalingGroupName)

Arguments

LifecycleHookName

[required] The name of the lifecycle hook.

AutoScalingGroupName

[required] The name of the Auto Scaling group.

Request syntax

svc$delete_lifecycle_hook(
  LifecycleHookName = "string",
  AutoScalingGroupName = "string"
)

Details

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

Examples

Run this code
# NOT RUN {
# This example deletes the specified lifecycle hook.
# }
# NOT RUN {
svc$delete_lifecycle_hook(
  AutoScalingGroupName = "my-auto-scaling-group",
  LifecycleHookName = "my-lifecycle-hook"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace