You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Glue::Types::Predicate
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glue::Types::Predicate
- Defined in:
- (unknown)
Overview
Note:
When passing Predicate as input to an Aws::Client method, you can use a vanilla Hash:
{
logical: "AND", # accepts AND, ANY
conditions: [
{
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 the predicate of the trigger, which determines when it fires.
Returned by:
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Types::Condition>
A list of the conditions that determine when the trigger will fire.
-
#logical ⇒ String
An optional field if only one condition is listed.
Instance Attribute Details
#conditions ⇒ Array<Types::Condition>
A list of the conditions that determine when the trigger will fire.
#logical ⇒ String
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
Possible values:
- AND
- ANY