Examples of using Wait condition in English and their translations into German
{-}
-
Colloquial
-
Official
-
Ecclesiastic
-
Medicine
-
Financial
-
Ecclesiastic
-
Political
-
Computer
-
Programming
-
Official/political
-
Political
Determine when a wait condition goes into effect.
A DependsOn clause associates a resource with the wait condition.
You can use a wait condition for situations like the following.
Select a method for detecting when the stack enters the wait condition.
Example return value for a wait condition with 2 signals.
This example shows a Curl command line that signals success to a wait condition.
AWS CloudFormation creates a wait condition just like any other resource.
Wait Condition Didn't Receive the Required Number of Signals from an Amazon EC2 Instance.
For Windows stacks, you must base64 encode the wait condition handle URL again.
A reference to the wait condition handle used to signal this wait condition.
For more information and an example, see Creating Wait Conditions in a Template.
To control when the wait condition is triggered, you set a DependsOn attribute on the wait condition.
You can use a creation policy instead of a wait condition and wait condition handle.
When the wait condition receives the requisite number of success signals, AWS CloudFormation resumes the creation of the stack.
Otherwise, AWS CloudFormation fails the wait condition and rolls the stack back.
A wait condition requires a wait condition handle to set up a presigned URL that is used as the signaling mechanism.
If you use a CreationPolicy with a wait condition, do not specify any of the wait condition's properties.
The request message mustbe a JSON structure of the form specified in Wait Condition Signal JSON Format.
If you reuse a wait condition handle, the wait condition might evaluate old signals from a previous create or update stack command.
This would ensure that the EC2 instances would onlybe created directly after the DB instance and the wait condition were completed.
When you add a DependsOn attribute to a wait condition, you specify that the wait condition is created only after the creation of a particular resource has completed.
If you can't use a creation policy, you view the following example template,which declares an Amazon EC2 instance with a wait condition.
You can optionally set the Count property,which determines the number of success signals that the wait condition must receive before AWS CloudFormation can resume creating the stack.
You can use the wait condition and wait condition handle to make AWS CloudFormation pause the creation of a stack and wait for a signal before it continues to create the stack.
AWS CloudFormation mustreceive a specified number of success signals for a wait condition before setting that wait condition's status to CREATE_COMPLETE continuing the creation of the stack.
If the wait condition does not receive the specified number of success signals before the Timeout period expires, AWS CloudFormation assumes that the wait condition has failed and rolls the stack back.
Anytime you add a WaitCondition resource during a stack update orupdate a resource with a wait condition, you must associate the wait condition with a new WaitConditionHandle resource.
Here is an example of a wait condition that begins after the successful creation of the Ec2Instance resource, uses the myWaitHandle resource as the WaitConditionHandle, has a timeout of 4500 seconds, and has the default Count of 1 since no Count property is specified.
In addition, the presigned URL that signals the wait condition is passed to the Amazon EC2 instance with the UserData property of the Ec2Instance resource, thus enabling an application or script running on that Amazon EC2 instance to retrieve the pre-signed URL and employ it to signal a success or failure to the wait condition. .
The wait condition myWaitCondition uses myWaitConditionHandle for signaling, uses the DependsOn attribute to specify that the wait condition will trigger after the Amazon EC2 instance resource has been created, and uses the Timeout property to specify a duration of 4500 seconds for the wait condition.