| Package | Description |
|---|---|
| software.amazon.awscdk.services.autoscaling |
Amazon EC2 Auto Scaling Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
LifecycleHook.Builder |
LifecycleHook.Builder.autoScalingGroup(IAutoScalingGroup autoScalingGroup)
The AutoScalingGroup to add the lifecycle hook to.
|
static LifecycleHook.Builder |
LifecycleHook.Builder.create(software.constructs.Construct scope,
String id) |
LifecycleHook.Builder |
LifecycleHook.Builder.defaultResult(DefaultResult defaultResult)
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
LifecycleHook.Builder |
LifecycleHook.Builder.heartbeatTimeout(Duration heartbeatTimeout)
Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.
|
LifecycleHook.Builder |
LifecycleHook.Builder.lifecycleHookName(String lifecycleHookName)
Name of the lifecycle hook.
|
LifecycleHook.Builder |
LifecycleHook.Builder.lifecycleTransition(LifecycleTransition lifecycleTransition)
The state of the Amazon EC2 instance to which you want to attach the lifecycle hook.
|
LifecycleHook.Builder |
LifecycleHook.Builder.notificationMetadata(String notificationMetadata)
Additional data to pass to the lifecycle hook target.
|
LifecycleHook.Builder |
LifecycleHook.Builder.notificationTarget(ILifecycleHookTarget notificationTarget)
The target of the lifecycle hook.
|
LifecycleHook.Builder |
LifecycleHook.Builder.role(IRole role)
The role that allows publishing to the notification target.
|
Copyright © 2022. All rights reserved.