public static final class BasicLifecycleHookProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BasicLifecycleHookProps
BasicLifecycleHookProps
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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
DefaultResult |
getDefaultResult()
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
Duration |
getHeartbeatTimeout()
Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.
|
java.lang.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.
|
java.lang.String |
getNotificationMetadata()
Additional data to pass to the lifecycle hook target.
|
ILifecycleHookTarget |
getNotificationTarget()
The target of the lifecycle hook.
|
IRole |
getRole()
The role that allows publishing to the notification target.
|
int |
hashCode() |
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.public final LifecycleTransition getLifecycleTransition()
BasicLifecycleHookProps
getLifecycleTransition
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 java.lang.String getLifecycleHookName()
BasicLifecycleHookProps
Default: - Automatically generated name.
getLifecycleHookName
in interface BasicLifecycleHookProps
public final java.lang.String getNotificationMetadata()
BasicLifecycleHookProps
Default: - No metadata.
getNotificationMetadata
in interface BasicLifecycleHookProps
public final ILifecycleHookTarget getNotificationTarget()
BasicLifecycleHookProps
Default: - No target.
getNotificationTarget
in interface BasicLifecycleHookProps
public final IRole getRole()
BasicLifecycleHookProps
Default: - A role will be created if a target is provided. Otherwise, no role is created.
getRole
in interface BasicLifecycleHookProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()