class Aws::Glue::Types::Condition
Defines a condition under which a trigger fires.
@note When making an API call, you may pass Condition
data as a hash: { logical_operator: "EQUALS", # accepts EQUALS job_name: "NameString", state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT crawler_name: "NameString", crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED }
@!attribute [rw] logical_operator
A logical operator. @return [String]
@!attribute [rw] job_name
The name of the job whose `JobRuns` this condition applies to, and on which this trigger waits. @return [String]
@!attribute [rw] state
The condition state. Currently, the only job states that a trigger can listen for are `SUCCEEDED`, `STOPPED`, `FAILED`, and `TIMEOUT`. The only crawler states that a trigger can listen for are `SUCCEEDED`, `FAILED`, and `CANCELLED`. @return [String]
@!attribute [rw] crawler_name
The name of the crawler to which this condition applies. @return [String]
@!attribute [rw] crawl_state
The state of the crawler to which this condition applies. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Condition AWS API Documentation
Constants
- SENSITIVE