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

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

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

Overview

Information about a specific trigger.

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::Action>

The actions initiated by this trigger.

Returns:



5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#descriptionString

A description of this trigger.

Returns:

  • (String)


5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#idString

Reserved for future use.

Returns:

  • (String)


5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#nameString

Name of the trigger.

Returns:

  • (String)


5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#predicateTypes::Predicate

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

Returns:



5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#scheduleString

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)


5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#stateString

The current state of the trigger.

Returns:

  • (String)


5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#typeString

The type of trigger that this is.

Returns:

  • (String)


5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5871

class Trigger < Struct.new(
  :name,
  :id,
  :type,
  :state,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end