Class CfnWaitCondition
The 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.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWaitCondition : CfnResource, IInspectable
Syntax (vb)
Public Class CfnWaitCondition Inherits CfnResource Implements IInspectable
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnWaitCondition = new CfnWaitCondition(this, "MyCfnWaitCondition", new CfnWaitConditionProps {
Count = 123,
Handle = "handle",
Timeout = "timeout"
});
Synopsis
Constructors
CfnWaitCondition(Construct, string, ICfnWaitConditionProps?) | The |
Properties
AttrData | The |
AttrId | The |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | The |
Count | The number of success signals that CloudFormation must receive before it continues the stack creation process. |
Handle | A reference to the wait condition handle used to signal this wait condition. |
Timeout | The length of time (in seconds) to wait for the number of signals that the |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnWaitCondition(Construct, string, ICfnWaitConditionProps?)
The 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.
public CfnWaitCondition(Construct scope, string id, ICfnWaitConditionProps? props = null)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnWaitConditionProps
Resource properties.
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
Properties
AttrData
The 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.
public virtual IResolvable AttrData { get; }
Property Value
Remarks
CloudformationAttribute: Data
AttrId
The 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.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
CfnProperties
The 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.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
Count
The number of success signals that CloudFormation must receive before it continues the stack creation process.
public virtual double? Count { get; set; }
Property Value
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
Handle
A reference to the wait condition handle used to signal this wait condition.
public virtual string? Handle { get; set; }
Property Value
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
Timeout
The length of time (in seconds) to wait for the number of signals that the Count
property specifies.
public virtual string? Timeout { get; set; }
Property Value
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The 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.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
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 AWS 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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/vpc-interface-endpoints.html">Access CloudFormation using an interface endpoint ( AWS PrivateLink )</a> in the <em>AWS CloudFormation User Guide</em> . > For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> attribute instead of wait conditions. Add a <code>CreationPolicy</code> attribute to those resources, and use the <code>cfn-signal</code> helper script to signal when an instance creation process has completed successfully.
CloudformationResource: AWS::CloudFormation::WaitCondition
ExampleMetadata: fixture=_generated