@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 for the lifecycle hook.
|
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 instance state to which you want to attach the lifecycle hook.
|
String |
getNotificationMetadata()
Additional information that is included 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 uses to notify you when an instance is in the transition 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, for example, an Amazon SNS topic or an Amazon SQS queue.
|
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
getLifecycleTransition in interface CfnLifecycleHookPropspublic final String getDefaultResult()
CfnLifecycleHookProps
The valid values are CONTINUE and ABANDON (default).
For more information, see Adding lifecycle hooks in the Amazon EC2 Auto Scaling User Guide .
getDefaultResult in interface CfnLifecycleHookPropspublic final Number getHeartbeatTimeout()
CfnLifecycleHookProps
The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour). If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult property.
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 SQS queue or an Amazon SNS topic. The notification message includes the following information: lifecycle action token, user account ID, Auto Scaling group name, lifecycle hook name, instance ID, lifecycle transition, and notification metadata.
getNotificationTargetArn in interface CfnLifecycleHookPropspublic final String getRoleArn()
CfnLifecycleHookPropsFor information about creating this role, see Configuring a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide .
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.