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

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

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 Condition data as a hash:

{
  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, SUCCEEDED, CANCELLED, FAILED
}

Defines a condition under which a trigger fires.

Instance Attribute Summary collapse

Instance Attribute Details

#crawl_stateString

The state of the crawler to which this condition applies.

Returns:

  • (String)


1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1132

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

#crawler_nameString

The name of the crawler to which this condition applies.

Returns:

  • (String)


1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1132

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

#job_nameString

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

Returns:

  • (String)


1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1132

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

#logical_operatorString

A logical operator.

Returns:

  • (String)


1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1132

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

#stateString

The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.

Returns:

  • (String)


1132
1133
1134
1135
1136
1137
1138
1139
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1132

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