Class BasicLifecycleHookProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.BasicLifecycleHookProps.Jsii$Proxy
- All Implemented Interfaces:
BasicLifecycleHookProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
BasicLifecycleHookProps
@Stability(Stable)
@Internal
public static final class BasicLifecycleHookProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements BasicLifecycleHookProps
An implementation for
BasicLifecycleHookProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.BasicLifecycleHookProps
BasicLifecycleHookProps.Builder, BasicLifecycleHookProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theBasicLifecycleHookProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final DefaultResult
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.final Duration
Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.final String
Name of the lifecycle hook.final LifecycleTransition
The state of the Amazon EC2 instance to which you want to attach the lifecycle hook.final String
Additional data to pass to the lifecycle hook target.final ILifecycleHookTarget
The target of the lifecycle hook.final IRole
getRole()
The role that allows publishing to the notification target.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theBasicLifecycleHookProps.Builder
.
-
-
Method Details
-
getLifecycleTransition
Description copied from interface:BasicLifecycleHookProps
The state of the Amazon EC2 instance to which you want to attach the lifecycle hook.- Specified by:
getLifecycleTransition
in interfaceBasicLifecycleHookProps
-
getDefaultResult
Description copied from interface:BasicLifecycleHookProps
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.Default: Continue
- Specified by:
getDefaultResult
in interfaceBasicLifecycleHookProps
-
getHeartbeatTimeout
Description copied from interface:BasicLifecycleHookProps
Maximum time between calls to RecordLifecycleActionHeartbeat for the hook.If the lifecycle hook times out, perform the action in DefaultResult.
Default: - No heartbeat timeout.
- Specified by:
getHeartbeatTimeout
in interfaceBasicLifecycleHookProps
-
getLifecycleHookName
Description copied from interface:BasicLifecycleHookProps
Name of the lifecycle hook.Default: - Automatically generated name.
- Specified by:
getLifecycleHookName
in interfaceBasicLifecycleHookProps
-
getNotificationMetadata
Description copied from interface:BasicLifecycleHookProps
Additional data to pass to the lifecycle hook target.Default: - No metadata.
- Specified by:
getNotificationMetadata
in interfaceBasicLifecycleHookProps
-
getNotificationTarget
Description copied from interface:BasicLifecycleHookProps
The target of the lifecycle hook.Default: - No target.
- Specified by:
getNotificationTarget
in interfaceBasicLifecycleHookProps
-
getRole
Description copied from interface:BasicLifecycleHookProps
The role that allows publishing to the notification target.Default: - A role will be created if a target is provided. Otherwise, no role is created.
- Specified by:
getRole
in interfaceBasicLifecycleHookProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-