import { Value } from '../../../cloudformation/Value';
/**
  Defines a condition under which a trigger fires.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html">the AWS Docs</a>
*/
export interface ConditionProps {
    /** <code>CrawlerName</code>  <a name="cfn-glue-trigger-condition-crawlername"></a>
  The name of the crawler to which this condition applies.<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> */
    crawlerName?: Value<string>;
    /** <code>State</code>  <a name="cfn-glue-trigger-condition-state"></a>
  The condition state. Currently, the values supported are <code>SUCCEEDED</code>, <code>STOPPED</code>, <code>TIMEOUT</code>, and <code>FAILED</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>ERROR | FAILED | RUNNING | STARTING | STOPPED | STOPPING | SUCCEEDED | TIMEOUT | WAITING</code><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> */
    state?: Value<'ERROR' | 'FAILED' | 'RUNNING' | 'STARTING' | 'STOPPED' | 'STOPPING' | 'SUCCEEDED' | 'TIMEOUT' | 'WAITING'>;
    /** <code>CrawlState</code>  <a name="cfn-glue-trigger-condition-crawlstate"></a>
  The state of the crawler to which this condition applies.<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> */
    crawlState?: Value<string>;
    /** <code>LogicalOperator</code>  <a name="cfn-glue-trigger-condition-logicaloperator"></a>
  A logical operator.<br />
  
  Required: No<br />
  
  Allowed values: <code>EQUALS</code><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> */
    logicalOperator?: Value<'EQUALS'>;
    /** <code>JobName</code>  <a name="cfn-glue-trigger-condition-jobname"></a>
  The name of the job whose <code>JobRuns</code> this condition applies to, and on which this trigger waits.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>255</code><br />
  
  Pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code><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> */
    jobName?: Value<string>;
}
