interface CfnResourceSignal
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnResourceSignal |
Java | software.amazon.awscdk.core.CfnResourceSignal |
Python | aws_cdk.core.CfnResourceSignal |
TypeScript (source) | @aws-cdk/core » CfnResourceSignal |
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from '@aws-cdk/core';
const cfnResourceSignal: cdk.CfnResourceSignal = {
count: 123,
timeout: 'timeout',
};
Properties
Name | Type | Description |
---|---|---|
count? | number | The number of success signals AWS CloudFormation must receive before it sets the resource status as CREATE_COMPLETE. |
timeout? | string | The length of time that AWS CloudFormation waits for the number of signals that was specified in the Count property. |
count?
Type:
number
(optional)
The number of success signals AWS CloudFormation must receive before it sets the resource status as CREATE_COMPLETE.
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?
Type:
string
(optional)
The length of time that AWS CloudFormation waits for the number of signals that was specified in the Count property.
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.