Class CfnWaitConditionHandle
A CloudFormation AWS::CloudFormation::WaitConditionHandle
.
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public class CfnWaitConditionHandle : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnWaitConditionHandle
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
For Amazon EC2 and Auto Scaling resources, we recommend that you use a CreationPolicy
attribute instead of wait conditions. Add a CreationPolicy
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 new WaitConditionHandle
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.
CloudformationResource: AWS::CloudFormation::WaitConditionHandle
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 cfnWaitConditionHandle = new CfnWaitConditionHandle(this, "MyCfnWaitConditionHandle");
Synopsis
Constructors
CfnWaitConditionHandle(Construct, String) | Create a new |
CfnWaitConditionHandle(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnWaitConditionHandle(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
Constructors
CfnWaitConditionHandle(Construct, String)
Create a new AWS::CloudFormation::WaitConditionHandle
.
public CfnWaitConditionHandle(Construct scope, string id)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
CfnWaitConditionHandle(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnWaitConditionHandle(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnWaitConditionHandle(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnWaitConditionHandle(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
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.