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

Class: Aws::Glue::Types::Trigger

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#actions ⇒ Array<Types::Action>

The actions initiated by this trigger.

Returns:

  • (Array<Types::Action>) —

    The actions initiated by this trigger.

#description ⇒ String

A description of this trigger.

Returns:

  • (String) —

    A description of this trigger.

#id ⇒ String

Reserved for future use.

Returns:

  • (String) —

    Reserved for future use.

#name ⇒ String

The name of the trigger.

Returns:

  • (String) —

    The name of the trigger.

#predicate ⇒ Types::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.

#schedule ⇒ String

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

Returns:

  • (String) —

    A cron expression used to specify the schedule (see [Time-Based Schedules for Jobs and Crawlers][1]. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

#state ⇒ String

The current state of the trigger.

Possible values:

  • CREATING
  • CREATED
  • ACTIVATING
  • ACTIVATED
  • DEACTIVATING
  • DEACTIVATED
  • DELETING
  • UPDATING

Returns:

  • (String) —

    The current state of the trigger.

#type ⇒ String

The type of trigger that this is.

Possible values:

  • SCHEDULED
  • CONDITIONAL
  • ON_DEMAND

Returns:

  • (String) —

    The type of trigger that this is.

#workflow_name ⇒ String

The name of the workflow associated with the trigger.

Returns:

  • (String) —

    The name of the workflow associated with the trigger.