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

Class: Aws::Glue::Types::TriggerUpdate

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

Overview

Note:

When passing TriggerUpdate as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "NameString",
  description: "DescriptionString",
  schedule: "GenericString",
  actions: [
    {
      job_name: "NameString",
      arguments: {
        "GenericString" => "GenericString",
      },
    },
  ],
  predicate: {
    logical: "AND", # accepts AND
    conditions: [
      {
        logical_operator: "EQUALS", # accepts EQUALS
        job_name: "NameString",
        state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED
      },
    ],
  },
}

A structure used to provide information used to updata a trigger.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::Action>

The actions initiated by this trigger.

Returns:

  • (Array<Types::Action>)

    The actions initiated by this trigger.

#descriptionString

A description of this trigger.

Returns:

  • (String)

    A description of this trigger.

#nameString

The name of the trigger.

Returns:

  • (String)

    The name of the trigger.

#predicateTypes::Predicate

The predicate of this trigger, which defines when it will fire.

Returns:

  • (Types::Predicate)

    The predicate of this trigger, which defines when it will fire.

#scheduleString

A cron expression specifying the schedule.

Returns:

  • (String)

    A cron expression specifying the schedule.