autoscaling_delete_lifecycle_hook: Deletes the specified lifecycle hook

Description Usage Arguments Value Request syntax Examples

View source: R/autoscaling_operations.R

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

1
2
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

1
2
3
4
svc$delete_lifecycle_hook(
  LifecycleHookName = "string",
  AutoScalingGroupName = "string"
)

Examples

1
2
3
4
5
6
7
8
## 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)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.