Condition
Defines a condition under which a trigger fires.
Contents
- CrawlerName
-
The name of the crawler to which this condition applies.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Required: No
- CrawlState
-
The state of the crawler to which this condition applies.
Type: String
Valid Values:
RUNNING | CANCELLING | CANCELLED | SUCCEEDED | FAILED | ERROR
Required: No
- JobName
-
The name of the job whose
JobRuns
this condition applies to, and on which this trigger waits.Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Required: No
- LogicalOperator
-
A logical operator.
Type: String
Valid Values:
EQUALS
Required: No
- State
-
The condition state. Currently, the only job states that a trigger can listen for are
SUCCEEDED
,STOPPED
,FAILED
, andTIMEOUT
. The only crawler states that a trigger can listen for areSUCCEEDED
,FAILED
, andCANCELLED
.Type: String
Valid Values:
STARTING | RUNNING | STOPPING | STOPPED | SUCCEEDED | FAILED | TIMEOUT | ERROR | WAITING | EXPIRED
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: