Describe Lifecycle Hooks
autoscaling_describe_lifecycle_hooks | R Documentation |
Gets information about the lifecycle hooks for the specified Auto Scaling group¶
Description¶
Gets information about the lifecycle hooks for the specified Auto Scaling group.
Usage¶
autoscaling_describe_lifecycle_hooks(AutoScalingGroupName,
LifecycleHookNames)
Arguments¶
AutoScalingGroupName |
[required] The name of the Auto Scaling group. |
LifecycleHookNames |
The names of one or more lifecycle hooks. If you omit this property, all lifecycle hooks are described. |
Value¶
A list with the following syntax:
list(
LifecycleHooks = list(
list(
LifecycleHookName = "string",
AutoScalingGroupName = "string",
LifecycleTransition = "string",
NotificationTargetARN = "string",
RoleARN = "string",
NotificationMetadata = "string",
HeartbeatTimeout = 123,
GlobalTimeout = 123,
DefaultResult = "string"
)
)
)
Request syntax¶
svc$describe_lifecycle_hooks(
AutoScalingGroupName = "string",
LifecycleHookNames = list(
"string"
)
)
Examples¶
## Not run:
# This example describes the lifecycle hooks for the specified Auto
# Scaling group.
svc$describe_lifecycle_hooks(
AutoScalingGroupName = "my-auto-scaling-group"
)
## End(Not run)