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
CrawlerNameThe name of the crawler to which this condition applies.
Required: No
Type: String
Update requires: No interruption
CrawlStateThe 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
Minimum:
1Maximum:
255Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*Update 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:
ERROR | FAILED | RUNNING | STARTING | STOPPED | STOPPING | SUCCEEDED | TIMEOUT | WAITINGUpdate requires: No interruption
See also
-
Condition Structure in the Amazon Glue Developer Guide