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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Condition as input to an Aws::Client method, you can use a vanilla 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, CANCELLING, CANCELLED, SUCCEEDED, 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.

Possible values:

  • RUNNING
  • CANCELLING
  • CANCELLED
  • SUCCEEDED
  • FAILED

Returns:

  • (String)

    The state of the crawler to which this condition applies.

#crawler_nameString

The name of the crawler to which this condition applies.

Returns:

  • (String)

    The name of the crawler to which this condition applies.

#job_nameString

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

Returns:

  • (String)

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

#logical_operatorString

A logical operator.

Possible values:

  • EQUALS

Returns:

  • (String)

    A logical operator.

#stateString

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.

Possible values:

  • STARTING
  • RUNNING
  • STOPPING
  • STOPPED
  • SUCCEEDED
  • FAILED
  • TIMEOUT

Returns:

  • (String)

    The condition state.