@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:04.962Z") @Stability(value=Stable) public interface BasicLifecycleHookProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BasicLifecycleHookProps.Builder
A builder for
BasicLifecycleHookProps |
static class |
BasicLifecycleHookProps.Jsii$Proxy
An implementation for
BasicLifecycleHookProps |
| Modifier and Type | Method and Description |
|---|---|
static BasicLifecycleHookProps.Builder |
builder() |
default DefaultResult |
getDefaultResult()
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
default Duration |
getHeartbeatTimeout()
Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.
|
default String |
getLifecycleHookName()
Name of the lifecycle hook.
|
LifecycleTransition |
getLifecycleTransition()
The state of the Amazon EC2 instance to which you want to attach the lifecycle hook.
|
default String |
getNotificationMetadata()
Additional data to pass to the lifecycle hook target.
|
ILifecycleHookTarget |
getNotificationTarget()
The target of the lifecycle hook.
|
default IRole |
getRole()
The role that allows publishing to the notification target.
|
@Stability(value=Stable) @NotNull LifecycleTransition getLifecycleTransition()
@Stability(value=Stable) @NotNull ILifecycleHookTarget getNotificationTarget()
@Stability(value=Stable) @Nullable default DefaultResult getDefaultResult()
Default: Continue
@Stability(value=Stable) @Nullable default Duration getHeartbeatTimeout()
If the lifecycle hook times out, perform the action in DefaultResult.
Default: - No heartbeat timeout.
@Stability(value=Stable) @Nullable default String getLifecycleHookName()
Default: - Automatically generated name.
@Stability(value=Stable) @Nullable default String getNotificationMetadata()
Default: - No metadata.
@Stability(value=Stable) @Nullable default IRole getRole()
Default: - A role is automatically created.
@Stability(value=Stable) static BasicLifecycleHookProps.Builder builder()
BasicLifecycleHookProps.Builder of BasicLifecycleHookPropsCopyright © 2021. All rights reserved.