Interface ICfnResourceSignal
When AWS CloudFormation creates the associated resource, configures the number of required success signals and the length of time that AWS CloudFormation waits for those signals.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public interface ICfnResourceSignal
Syntax (vb)
Public Interface ICfnResourceSignal
Remarks
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 cfnResourceSignal = new CfnResourceSignal {
Count = 123,
Timeout = "timeout"
};
Synopsis
Properties
Count | The number of success signals AWS CloudFormation must receive before it sets the resource status as CREATE_COMPLETE. |
Timeout | The length of time that AWS CloudFormation waits for the number of signals that was specified in the Count property. |
Properties
Count
The number of success signals AWS CloudFormation must receive before it sets the resource status as CREATE_COMPLETE.
virtual Nullable<double> Count { get; }
Property Value
System.Nullable<System.Double>
Remarks
If the resource receives a failure signal or doesn't receive the specified number of signals before the timeout period expires, the resource creation fails and AWS CloudFormation rolls the stack back.
Timeout
The length of time that AWS CloudFormation waits for the number of signals that was specified in the Count property.
virtual string Timeout { get; }
Property Value
System.String
Remarks
The timeout period starts after AWS CloudFormation starts creating the resource, and the timeout expires no sooner than the time you specify but can occur shortly thereafter. The maximum time that you can specify is 12 hours.