public static final class CfnAutoScalingGroup.LifecycleHookSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAutoScalingGroup.LifecycleHookSpecificationProperty
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
CfnAutoScalingGroup.LifecycleHookSpecificationProperty.Builder, CfnAutoScalingGroup.LifecycleHookSpecificationProperty.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) |
java.lang.String |
getDefaultResult()
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
|
java.lang.Number |
getHeartbeatTimeout()
The maximum time, in seconds, that can elapse before the lifecycle hook times out.
|
java.lang.String |
getLifecycleHookName()
The name of the lifecycle hook.
|
java.lang.String |
getLifecycleTransition()
The lifecycle transition.
|
java.lang.String |
getNotificationMetadata()
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
|
java.lang.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.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified 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 java.lang.String getLifecycleHookName()
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
getLifecycleHookName
in interface CfnAutoScalingGroup.LifecycleHookSpecificationProperty
public final java.lang.String getLifecycleTransition()
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
autoscaling:EC2_INSTANCE_LAUNCHING
.autoscaling:EC2_INSTANCE_TERMINATING
.getLifecycleTransition
in interface CfnAutoScalingGroup.LifecycleHookSpecificationProperty
public final java.lang.String getDefaultResult()
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
The default value is ABANDON
.
Valid values: CONTINUE
| ABANDON
getDefaultResult
in interface CfnAutoScalingGroup.LifecycleHookSpecificationProperty
public final java.lang.Number getHeartbeatTimeout()
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
The range is from 30
to 7200
seconds. The default value is 3600
seconds (1 hour).
getHeartbeatTimeout
in interface CfnAutoScalingGroup.LifecycleHookSpecificationProperty
public final java.lang.String getNotificationMetadata()
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
getNotificationMetadata
in interface CfnAutoScalingGroup.LifecycleHookSpecificationProperty
public final java.lang.String getNotificationTargetArn()
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
You can specify an Amazon SNS topic or an Amazon SQS queue.
getNotificationTargetArn
in interface CfnAutoScalingGroup.LifecycleHookSpecificationProperty
public final java.lang.String getRoleArn()
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
For 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 CfnAutoScalingGroup.LifecycleHookSpecificationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()