ALIYUN::ROS::WaitCondition waits for signals and works with ALIYUN::ROS::WaitConditionHandle to control the execution flow of a stack. For example, when you create an Elastic Compute Service (ECS) instance, a signal is sent during user data execution.
Syntax
{
"Type": "ALIYUN::ROS::WaitCondition",
"Properties": {
"Count": Number,
"Handle": String,
"Timeout": Number,
"ShowProgressEvent": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Handle |
String |
Yes |
No |
The reference to an ALIYUN::ROS::WaitConditionHandle instance. |
None. |
|
Timeout |
Number |
Yes |
No |
The timeout period for receiving UserData messages. |
Valid values: 1 to 43200. Unit: seconds. |
|
Count |
Number |
No |
Yes |
The total number of UserData messages that Resource Orchestration Service (ROS) must receive. |
None. |
|
ShowProgressEvent |
String |
No |
No |
Specifies whether to display progress events for receiving UserData messages. |
Valid values:
|
Return values
Fn::GetAtt
-
Data: the JSON string of the most recently created or updated signal data.
-
JoinedErrorData: a string of the ErrorData content.
-
ErrorData: the JSON string of the most recently created or updated error signal data.