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
  conditions: [
    {
      logical_operator: "EQUALS", # accepts EQUALS
      job_name: "NameString",
      state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED
    },
  ],
}

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:



4308
4309
4310
4311
4312
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4308

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

#logicalString

Currently "OR" is not supported.

Returns:

  • (String)


4308
4309
4310
4311
4312
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4308

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