You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glue::Types::Predicate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

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
    },
  ],
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#conditionsArray<Types::Condition>

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

Returns:



5118
5119
5120
5121
5122
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5118

class Predicate < Struct.new(
  :logical,
  :conditions)
  include Aws::Structure
end

#logicalString

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

Returns:

  • (String)


5118
5119
5120
5121
5122
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5118

class Predicate < Struct.new(
  :logical,
  :conditions)
  include Aws::Structure
end