AWS::Glue::Trigger Condition
Defines a condition under which a trigger fires.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CrawlerName" :
String
, "CrawlState" :String
, "JobName" :String
, "LogicalOperator" :String
, "State" :String
}
YAML
CrawlerName:
String
CrawlState:String
JobName:String
LogicalOperator:String
State: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
JobRuns
this condition applies to, and on which this trigger waits.Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Minimum:
1
Maximum:
255
Update requires: No interruption
LogicalOperator
-
A logical operator.
Required: No
Type: String
Allowed values:
EQUALS
Update 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 | EXPIRED
Update requires: No interruption
See also
-
Condition Structure in the AWS Glue Developer Guide