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
show all
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

Instance Attribute Details

#conditionsArray<Types::Condition>

A list of the conditions that determine when the trigger will fire.

Returns:

  • (Array<Types::Condition>)

    A list of the conditions that determine when the trigger will fire.

#logicalString

An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

Possible values:

  • AND
  • ANY

Returns:

  • (String)

    An optional field if only one condition is listed.