@Stability(value=Stable) @Internal public static final class CfnLifecycleHookProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecycleHookProps
CfnLifecycleHookPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnLifecycleHookProps.Builder, CfnLifecycleHookProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLifecycleHookProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLifecycleHookProps.Builder. |
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(Object o) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
String |
getDefaultResult()
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
Number |
getHeartbeatTimeout()
The maximum time, in seconds, that can elapse before the lifecycle hook times out.
|
String |
getLifecycleHookName()
The name of the lifecycle hook.
|
String |
getLifecycleTransition()
The lifecycle transition.
|
String |
getNotificationMetadata()
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
|
String |
getNotificationTargetArn()
The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook.
|
String |
getRoleArn()
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnLifecycleHookProps.Builder builder)
CfnLifecycleHookProps.Builder.public final String getAutoScalingGroupName()
CfnLifecycleHookPropsgetAutoScalingGroupName in interface CfnLifecycleHookPropspublic final String getLifecycleTransition()
CfnLifecycleHookProps
autoscaling:EC2_INSTANCE_LAUNCHING .autoscaling:EC2_INSTANCE_TERMINATING .getLifecycleTransition in interface CfnLifecycleHookPropspublic final String getDefaultResult()
CfnLifecycleHookProps
The default value is ABANDON .
Valid values: CONTINUE | ABANDON
getDefaultResult in interface CfnLifecycleHookPropspublic final Number getHeartbeatTimeout()
CfnLifecycleHookProps
The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour).
getHeartbeatTimeout in interface CfnLifecycleHookPropspublic final String getLifecycleHookName()
CfnLifecycleHookPropsgetLifecycleHookName in interface CfnLifecycleHookPropspublic final String getNotificationMetadata()
CfnLifecycleHookPropsgetNotificationMetadata in interface CfnLifecycleHookPropspublic final String getNotificationTargetArn()
CfnLifecycleHookPropsYou can specify an Amazon SNS topic or an Amazon SQS queue.
getNotificationTargetArn in interface CfnLifecycleHookPropspublic final String getRoleArn()
CfnLifecycleHookPropsFor information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide .
Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
getRoleArn in interface CfnLifecycleHookProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.