Class CfnWaitConditionPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
AWS::CloudFormation::WaitCondition resource provides a way to coordinate stack resource creation with configuration actions that are external to the stack creation or to track the status of a configuration process.
In these situations, we recommend that you associate a CreationPolicy attribute with the wait condition instead of using a wait condition handle. For more information and an example, see CreationPolicy attribute in the CloudFormation User Guide . If you use a CreationPolicy with a wait condition, don't specify any of the wait condition's properties.
If you use AWS PrivateLink , resources in the VPC that respond to wait conditions must have access to CloudFormation , specific Amazon S3 buckets. Resources must send wait condition responses to a presigned Amazon S3 URL. If they can't send responses to Amazon S3 , CloudFormation won't receive a response and the stack operation fails. For more information, see Access CloudFormation using an interface endpoint ( AWS PrivateLink ) in the CloudFormation User Guide . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a
CreationPolicyattribute instead of wait conditions. Add aCreationPolicyattribute to those resources, and use thecfn-signalhelper script to signal when an instance creation process has completed successfully.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.cloudformation.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnWaitConditionPropsMixin cfnWaitConditionPropsMixin = CfnWaitConditionPropsMixin.Builder.create(CfnWaitConditionMixinProps.builder()
.count(123)
.handle("handle")
.timeout("timeout")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnWaitConditionPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::CloudFormation::WaitCondition.Create a mixin to apply properties toAWS::CloudFormation::WaitCondition.protectedCfnWaitConditionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWaitConditionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnWaitConditionMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnWaitConditionPropsMixin
protected CfnWaitConditionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWaitConditionPropsMixin
protected CfnWaitConditionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWaitConditionPropsMixin
@Stability(Stable) public CfnWaitConditionPropsMixin(@NotNull CfnWaitConditionMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::CloudFormation::WaitCondition.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnWaitConditionPropsMixin
Create a mixin to apply properties toAWS::CloudFormation::WaitCondition.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-