class Aws::Glue::Types::Predicate

Defines the predicate of the trigger, which determines when it fires.

@note When making an API call, you may pass Predicate

data as a 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
        },
      ],
    }

@!attribute [rw] logical

An optional field if only one condition is listed. If multiple
conditions are listed, then this field is required.
@return [String]

@!attribute [rw] conditions

A list of the conditions that determine when the trigger will fire.
@return [Array<Types::Condition>]

@see docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Predicate AWS API Documentation

Constants

SENSITIVE