Class: Aws::ARCRegionswitch::Types::StartPlanExecutionRequest

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

#actionString

The action to perform. Valid values are ACTIVATE (to shift traffic to the target Region) or DEACTIVATE (to shift traffic away from the target Region).

Returns:

  • (String)


1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1883

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version)
  SENSITIVE = []
  include Aws::Structure
end

#commentString

An optional comment explaining why the plan execution is being started.

Returns:

  • (String)


1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1883

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version)
  SENSITIVE = []
  include Aws::Structure
end

#latest_versionString

A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.

Returns:

  • (String)


1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1883

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version)
  SENSITIVE = []
  include Aws::Structure
end

#modeString

The plan execution mode. Valid values are Practice, for testing without making actual changes, or Recovery, for actual traffic shifting and application recovery.

Returns:

  • (String)


1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1883

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version)
  SENSITIVE = []
  include Aws::Structure
end

#plan_arnString

The Amazon Resource Name (ARN) of the plan to execute.

Returns:

  • (String)


1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1883

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version)
  SENSITIVE = []
  include Aws::Structure
end

#target_regionString

The Amazon Web Services Region to target with this execution. This is the Region that traffic will be shifted to or from, depending on the action.

Returns:

  • (String)


1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1883

class StartPlanExecutionRequest < Struct.new(
  :plan_arn,
  :target_region,
  :action,
  :mode,
  :comment,
  :latest_version)
  SENSITIVE = []
  include Aws::Structure
end