@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.095Z") @Stability(value=Experimental) 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()
(experimental) The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
default Duration |
getHeartbeatTimeout()
(experimental) Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.
|
default String |
getLifecycleHookName()
(experimental) Name of the lifecycle hook.
|
LifecycleTransition |
getLifecycleTransition()
(experimental) The state of the Amazon EC2 instance to which you want to attach the lifecycle hook.
|
default String |
getNotificationMetadata()
(experimental) Additional data to pass to the lifecycle hook target.
|
ILifecycleHookTarget |
getNotificationTarget()
(experimental) The target of the lifecycle hook.
|
default IRole |
getRole()
(experimental) The role that allows publishing to the notification target.
|
@Stability(value=Experimental) @NotNull LifecycleTransition getLifecycleTransition()
@Stability(value=Experimental) @NotNull ILifecycleHookTarget getNotificationTarget()
@Stability(value=Experimental) @Nullable default DefaultResult getDefaultResult()
Default: Continue
@Stability(value=Experimental) @Nullable default Duration getHeartbeatTimeout()
If the lifecycle hook times out, perform the action in DefaultResult.
Default: - No heartbeat timeout.
@Stability(value=Experimental) @Nullable default String getLifecycleHookName()
Default: - Automatically generated name.
@Stability(value=Experimental) @Nullable default String getNotificationMetadata()
Default: - No metadata.
@Stability(value=Experimental) @Nullable default IRole getRole()
Default: - A role is automatically created.
@Stability(value=Experimental) static BasicLifecycleHookProps.Builder builder()
BasicLifecycleHookProps.Builder of BasicLifecycleHookPropsCopyright © 2021. All rights reserved.