Class CfnAutoScalingGroup.LifecycleHookSpecificationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.LifecycleHookSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
@Stability(Stable)
@Internal
public static final class CfnAutoScalingGroup.LifecycleHookSpecificationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnAutoScalingGroup.LifecycleHookSpecificationProperty
An implementation for
CfnAutoScalingGroup.LifecycleHookSpecificationProperty
-
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.CfnAutoScalingGroup.LifecycleHookSpecificationProperty
CfnAutoScalingGroup.LifecycleHookSpecificationProperty.Builder, CfnAutoScalingGroup.LifecycleHookSpecificationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnAutoScalingGroup.LifecycleHookSpecificationProperty.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 String
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.final Number
The maximum time, in seconds, that can elapse before the lifecycle hook times out.final String
The name of the lifecycle hook.final String
The lifecycle transition.final String
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.final String
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.final String
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified 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 theCfnAutoScalingGroup.LifecycleHookSpecificationProperty.Builder
.
-
-
Method Details
-
getLifecycleHookName
Description copied from interface:CfnAutoScalingGroup.LifecycleHookSpecificationProperty
The name of the lifecycle hook.- Specified by:
getLifecycleHookName
in interfaceCfnAutoScalingGroup.LifecycleHookSpecificationProperty
- See Also:
-
getLifecycleTransition
Description copied from interface:CfnAutoScalingGroup.LifecycleHookSpecificationProperty
The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.- To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. - To create a lifecycle hook for scale-in events, specify
autoscaling:EC2_INSTANCE_TERMINATING
.
- Specified by:
getLifecycleTransition
in interfaceCfnAutoScalingGroup.LifecycleHookSpecificationProperty
- See Also:
- To create a lifecycle hook for scale-out events, specify
-
getDefaultResult
Description copied from interface:CfnAutoScalingGroup.LifecycleHookSpecificationProperty
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.The default value is
ABANDON
.Valid values:
CONTINUE
|ABANDON
- Specified by:
getDefaultResult
in interfaceCfnAutoScalingGroup.LifecycleHookSpecificationProperty
- See Also:
-
getHeartbeatTimeout
Description copied from interface:CfnAutoScalingGroup.LifecycleHookSpecificationProperty
The maximum time, in seconds, that can elapse before the lifecycle hook times out.The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour).- Specified by:
getHeartbeatTimeout
in interfaceCfnAutoScalingGroup.LifecycleHookSpecificationProperty
- See Also:
-
getNotificationMetadata
Description copied from interface:CfnAutoScalingGroup.LifecycleHookSpecificationProperty
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.- Specified by:
getNotificationMetadata
in interfaceCfnAutoScalingGroup.LifecycleHookSpecificationProperty
- See Also:
-
getNotificationTargetArn
Description copied from interface:CfnAutoScalingGroup.LifecycleHookSpecificationProperty
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.You can specify an Amazon SNS topic or an Amazon SQS queue.
- Specified by:
getNotificationTargetArn
in interfaceCfnAutoScalingGroup.LifecycleHookSpecificationProperty
- See Also:
-
getRoleArn
Description copied from interface:CfnAutoScalingGroup.LifecycleHookSpecificationProperty
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.For information about creating this role, see Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide .
Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- Specified by:
getRoleArn
in interfaceCfnAutoScalingGroup.LifecycleHookSpecificationProperty
- See Also:
-
$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()
-