Class: Aws::Glue::Types::Condition

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

Overview

Defines a condition under which a trigger fires.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#crawl_state ⇒ String

The state of the crawler to which this condition applies.

Returns:

  • (String)


4047
4048
4049
4050
4051
4052
4053
4054
4055
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4047

class Condition < Struct.new(
  :logical_operator,
  :job_name,
  :state,
  :crawler_name,
  :crawl_state)
  SENSITIVE = []
  include Aws::Structure
end

#crawler_name ⇒ String

The name of the crawler to which this condition applies.

Returns:

  • (String)


4047
4048
4049
4050
4051
4052
4053
4054
4055
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4047

class Condition < Struct.new(
  :logical_operator,
  :job_name,
  :state,
  :crawler_name,
  :crawl_state)
  SENSITIVE = []
  include Aws::Structure
end

#job_name ⇒ String

The name of the job whose JobRuns this condition applies to, and on which this trigger waits.

Returns:

  • (String)


4047
4048
4049
4050
4051
4052
4053
4054
4055
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4047

class Condition < Struct.new(
  :logical_operator,
  :job_name,
  :state,
  :crawler_name,
  :crawl_state)
  SENSITIVE = []
  include Aws::Structure
end

#logical_operator ⇒ String

A logical operator.

Returns:

  • (String)


4047
4048
4049
4050
4051
4052
4053
4054
4055
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4047

class Condition < Struct.new(
  :logical_operator,
  :job_name,
  :state,
  :crawler_name,
  :crawl_state)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.

Returns:

  • (String)


4047
4048
4049
4050
4051
4052
4053
4054
4055
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4047

class Condition < Struct.new(
  :logical_operator,
  :job_name,
  :state,
  :crawler_name,
  :crawl_state)
  SENSITIVE = []
  include Aws::Structure
end