Skip to content

Delete Lifecycle Hook

autoscaling_delete_lifecycle_hook R Documentation

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.

Value

An empty list.

Request syntax

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

Examples

## Not run: 
# This example deletes the specified lifecycle hook.
svc$delete_lifecycle_hook(
  AutoScalingGroupName = "my-auto-scaling-group",
  LifecycleHookName = "my-lifecycle-hook"
)

## End(Not run)