You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Glue::Types::Condition
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glue::Types::Condition
- Defined in:
- (unknown)
Overview
When passing Condition as input to an Aws::Client method, you can use a vanilla 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
}
Defines a condition under which a trigger fires.
Instance Attribute Summary collapse
-
#crawl_state ⇒ String
The state of the crawler to which this condition applies.
-
#crawler_name ⇒ String
The name of the crawler to which this condition applies.
-
#job_name ⇒ String
The name of the job whose
JobRuns
this condition applies to, and on which this trigger waits. -
#logical_operator ⇒ String
A logical operator.
-
#state ⇒ String
The condition state.
Instance Attribute Details
#crawl_state ⇒ String
The state of the crawler to which this condition applies.
Possible values:
- RUNNING
- CANCELLING
- CANCELLED
- SUCCEEDED
- FAILED
#crawler_name ⇒ String
The name of the crawler to which this condition applies.
#job_name ⇒ String
The name of the job whose JobRuns
this condition applies to, and on
which this trigger waits.
#logical_operator ⇒ String
A logical operator.
Possible values:
- EQUALS
#state ⇒ String
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
.
Possible values:
- STARTING
- RUNNING
- STOPPING
- STOPPED
- SUCCEEDED
- FAILED
- TIMEOUT