Learn R Programming

paws.management (version 0.1.10)

autoscaling_delete_lifecycle_hook: Deletes the specified lifecycle hook

Description

Deletes the specified lifecycle hook.

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

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"
)

Examples

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

Run the code above in your browser using DataLab