import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type WaitConditionAttributes = {
    Data: Attribute<any>;
};
export type WaitCondition = AwsResource<'AWS::CloudFormation::WaitCondition', WaitConditionProperties, WaitConditionAttributes>;
/**
  <strong>Important</strong><br />
For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> 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 full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waitcondition.html">the AWS Docs</a>
*/
export declare function waitCondition(waitConditionProps?: WaitConditionProperties): WaitCondition;
/**
  <strong>Important</strong><br />
For Amazon EC2 and Auto Scaling resources, we recommend that you use a <code>CreationPolicy</code> 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 full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waitcondition.html">the AWS Docs</a>
*/
export interface WaitConditionProperties {
    /** <code>Count</code>  <a name="cfn-waitcondition-count"></a>
  The number of success signals that CloudFormation must receive before it continues the stack creation process. When the wait condition receives the requisite number of success signals, CloudFormation resumes the creation of the stack. If the wait condition doesn’t receive the specified number of success signals before the Timeout period expires, CloudFormation assumes that the wait condition has failed and rolls the stack back.<br />
  Updates aren’t supported.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    count?: Value<number>;
    /** <code>Handle</code>  <a name="cfn-waitcondition-handle"></a>
  A reference to the wait condition handle used to signal this wait condition. Use the <code>Ref</code> intrinsic function to specify an <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waitconditionhandle.html">https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waitconditionhandle.html</a> resource.<br />
  Anytime you add a <code>WaitCondition</code> resource during a stack update, 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.<br />
  Updates aren’t supported.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    handle?: Value<string>;
    /** <code>Timeout</code>  <a name="cfn-waitcondition-timeout"></a>
  The length of time (in seconds) to wait for the number of signals that the <code>Count</code> property specifies. <code>Timeout</code> is a minimum-bound property, meaning the timeout occurs no sooner than the time you specify, but can occur shortly thereafter. The maximum time that can be specified for this property is 12 hours (43200 seconds).<br />
  Updates aren’t supported.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    timeout?: Value<string>;
}
