Learn R Programming

paws.management (version 0.1.12)

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)

Value

An empty list.

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
if (FALSE) {
# This example deletes the specified lifecycle hook.
svc$delete_lifecycle_hook(
  AutoScalingGroupName = "my-auto-scaling-group",
  LifecycleHookName = "my-lifecycle-hook"
)
}

Run the code above in your browser using DataLab