Class: Aws::ARCRegionswitch::Types::CreatePlanRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_alarmsHash<String,Types::AssociatedAlarm>

The alarms associated with a Region switch plan.

Returns:



398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of a Region switch plan.

Returns:

  • (String)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#execution_roleString

An execution role is a way to categorize a Region switch plan.

Returns:

  • (String)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of a Region switch plan.

Returns:

  • (String)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#primary_regionString

The primary Amazon Web Services Region for the application. This is the Region where the application normally runs before any Region switch occurs.

Returns:

  • (String)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#recovery_approachString

The recovery approach for a Region switch plan, which can be active/active (activeActive) or active/passive (activePassive).

Returns:

  • (String)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#recovery_time_objective_minutesInteger

Optionally, you can specify an recovery time objective for a Region switch plan, in minutes.

Returns:

  • (Integer)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#regionsArray<String>

An array that specifies the Amazon Web Services Regions for a Region switch plan. Specify two Regions.

Returns:

  • (Array<String>)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags to apply to the Region switch plan.

Returns:

  • (Hash<String,String>)


398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#triggersArray<Types::Trigger>

The triggers associated with a Region switch plan.

Returns:



398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#workflowsArray<Types::Workflow>

An array of workflows included in a Region switch plan.

Returns:



398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 398

class CreatePlanRequest < Struct.new(
  :description,
  :workflows,
  :execution_role,
  :recovery_time_objective_minutes,
  :associated_alarms,
  :triggers,
  :name,
  :regions,
  :recovery_approach,
  :primary_region,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end