@Stability(value=Experimental) @Internal public static final class BasicLifecycleHookProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BasicLifecycleHookProps
BasicLifecycleHookProps
software.amazon.jsii.JsiiObject.InitializationMode
BasicLifecycleHookProps.Builder, BasicLifecycleHookProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(LifecycleTransition lifecycleTransition,
ILifecycleHookTarget notificationTarget,
DefaultResult defaultResult,
Duration heartbeatTimeout,
String lifecycleHookName,
String notificationMetadata,
IRole role)
Constructor that initializes the object based on literal property values passed by the
BasicLifecycleHookProps.Builder . |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
DefaultResult |
getDefaultResult()
(experimental) The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
Duration |
getHeartbeatTimeout()
(experimental) Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.
|
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.
|
String |
getNotificationMetadata()
(experimental) Additional data to pass to the lifecycle hook target.
|
ILifecycleHookTarget |
getNotificationTarget()
(experimental) The target of the lifecycle hook.
|
IRole |
getRole()
(experimental) The role that allows publishing to the notification target.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(LifecycleTransition lifecycleTransition, ILifecycleHookTarget notificationTarget, DefaultResult defaultResult, Duration heartbeatTimeout, String lifecycleHookName, String notificationMetadata, IRole role)
BasicLifecycleHookProps.Builder
.public final LifecycleTransition getLifecycleTransition()
BasicLifecycleHookProps
getLifecycleTransition
in interface BasicLifecycleHookProps
public final ILifecycleHookTarget getNotificationTarget()
BasicLifecycleHookProps
getNotificationTarget
in interface BasicLifecycleHookProps
public final DefaultResult getDefaultResult()
BasicLifecycleHookProps
Default: Continue
getDefaultResult
in interface BasicLifecycleHookProps
public final Duration getHeartbeatTimeout()
BasicLifecycleHookProps
If the lifecycle hook times out, perform the action in DefaultResult.
Default: - No heartbeat timeout.
getHeartbeatTimeout
in interface BasicLifecycleHookProps
public final String getLifecycleHookName()
BasicLifecycleHookProps
Default: - Automatically generated name.
getLifecycleHookName
in interface BasicLifecycleHookProps
public final String getNotificationMetadata()
BasicLifecycleHookProps
Default: - No metadata.
getNotificationMetadata
in interface BasicLifecycleHookProps
public final IRole getRole()
BasicLifecycleHookProps
Default: - A role is automatically created.
getRole
in interface BasicLifecycleHookProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.