This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Glue::Trigger Condition
Defines a condition under which a trigger fires.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CrawlerName" :String, "CrawlState" :String, "JobName" :String, "LogicalOperator" :String, "State" :String}
YAML
CrawlerName:StringCrawlState:StringJobName:StringLogicalOperator:StringState:String
Properties
CrawlerName-
The name of the crawler to which this condition applies.
Required: No
Type: String
Update requires: No interruption
CrawlState-
The state of the crawler to which this condition applies.
Required: No
Type: String
Update requires: No interruption
JobName-
The name of the job whose
JobRunsthis condition applies to, and on which this trigger waits.Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*Minimum:
1Maximum:
255Update requires: No interruption
LogicalOperator-
A logical operator.
Required: No
Type: String
Allowed values:
EQUALSUpdate requires: No interruption
State-
The condition state. Currently, the values supported are
SUCCEEDED,STOPPED,TIMEOUT, andFAILED.Required: No
Type: String
Allowed values:
STARTING | RUNNING | STOPPING | STOPPED | SUCCEEDED | FAILED | TIMEOUT | ERROR | WAITING | EXPIREDUpdate requires: No interruption
See also
-
Condition Structure in the Amazon Glue Developer Guide