Class: Aws::ARCRegionswitch::Types::Trigger

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

Overview

Defines a condition that can automatically trigger the execution of a Region switch plan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action ⇒ String

The action to perform when the trigger fires. Valid values include activate and deactivate.

Returns:

  • (String)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2928

class Trigger < Struct.new(
  :description,
  :target_region,
  :action,
  :conditions,
  :min_delay_minutes_between_executions)
  SENSITIVE = []
  include Aws::Structure
end

#conditions ⇒ Array<Types::TriggerCondition>

The conditions that must be met for the trigger to fire.

Returns:



2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2928

class Trigger < Struct.new(
  :description,
  :target_region,
  :action,
  :conditions,
  :min_delay_minutes_between_executions)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description for a trigger.

Returns:

  • (String)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2928

class Trigger < Struct.new(
  :description,
  :target_region,
  :action,
  :conditions,
  :min_delay_minutes_between_executions)
  SENSITIVE = []
  include Aws::Structure
end

#min_delay_minutes_between_executions ⇒ Integer

The minimum time, in minutes, that must elapse between automatic executions of the plan.

Returns:

  • (Integer)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2928

class Trigger < Struct.new(
  :description,
  :target_region,
  :action,
  :conditions,
  :min_delay_minutes_between_executions)
  SENSITIVE = []
  include Aws::Structure
end

#target_region ⇒ String

The Amazon Web Services Region for a trigger.

Returns:

  • (String)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 2928

class Trigger < Struct.new(
  :description,
  :target_region,
  :action,
  :conditions,
  :min_delay_minutes_between_executions)
  SENSITIVE = []
  include Aws::Structure
end