Class CfnWaitConditionHandle
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::CloudFormation::WaitConditionHandle
.
For Amazon EC2 and Auto Scaling resources, we recommend that you use a
CreationPolicy
attribute instead of wait conditions. Add aCreationPolicy
attribute to those resources, and use the cfn-signal helper script to signal when an instance creation process has completed successfully.For more information, see Deploying applications on Amazon EC2 with AWS CloudFormation .
The AWS::CloudFormation::WaitConditionHandle
type has no properties. When you reference the WaitConditionHandle
resource by using the Ref
function, AWS CloudFormation returns a presigned URL. You pass this URL to applications or scripts that are running on your Amazon EC2 instances to send signals to that URL. An associated AWS::CloudFormation::WaitCondition
resource checks the URL for the required number of success signals or for a failure signal.
Anytime you add a
WaitCondition
resource during a stack update or update a resource with a wait condition, you must associate the wait condition with a newWaitConditionHandle
resource. Don't reuse an old wait condition handle that has already been defined in the template. If you reuse a wait condition handle, the wait condition might evaluate old signals from a previous create or update stack command. > Updates aren't supported for this resource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; CfnWaitConditionHandle cfnWaitConditionHandle = new CfnWaitConditionHandle(this, "MyCfnWaitConditionHandle");
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.awscdk.core.CfnResource
CfnResource.Builder
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnWaitConditionHandle
(Construct scope, String id) Create a newAWS::CloudFormation::WaitConditionHandle
.protected
CfnWaitConditionHandle
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnWaitConditionHandle
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoid
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnProperties, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, renderProperties, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWaitConditionHandle
protected CfnWaitConditionHandle(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWaitConditionHandle
protected CfnWaitConditionHandle(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWaitConditionHandle
Create a newAWS::CloudFormation::WaitConditionHandle
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-