Class: AWSCDK::ARCRegionSwitch::CfnPlan::StepProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::StepProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
Represents a step in a Region switch plan workflow.
Each step performs a specific action during the Region switch process.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of a step in a workflow.
-
#execution_block_configuration ⇒ AWSCDK::IResolvable, AWSCDK::ARCRegionSwitch::CfnPlan::ExecutionBlockConfigurationProperty
readonly
The configuration for an execution block in a workflow.
-
#execution_block_type ⇒ String
readonly
The type of an execution block in a workflow.
-
#name ⇒ String
readonly
The name of a step in a workflow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(execution_block_configuration:, execution_block_type:, name:, description: nil) ⇒ StepProperty
constructor
A new instance of StepProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(execution_block_configuration:, execution_block_type:, name:, description: nil) ⇒ StepProperty
Returns a new instance of StepProperty.
3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 |
# File 'arc_region_switch/cfn_plan.rb', line 3024 def initialize(execution_block_configuration:, execution_block_type:, name:, description: nil) @execution_block_configuration = execution_block_configuration.is_a?(Hash) ? ::AWSCDK::ARCRegionSwitch::CfnPlan::ExecutionBlockConfigurationProperty.new(**execution_block_configuration.transform_keys(&:to_sym)) : execution_block_configuration Jsii::Type.check_type(@execution_block_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcmNyZWdpb25zd2l0Y2guQ2ZuUGxhbi5FeGVjdXRpb25CbG9ja0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "executionBlockConfiguration") @execution_block_type = execution_block_type Jsii::Type.check_type(@execution_block_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "executionBlockType") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
The description of a step in a workflow.
3054 3055 3056 |
# File 'arc_region_switch/cfn_plan.rb', line 3054 def description @description end |
#execution_block_configuration ⇒ AWSCDK::IResolvable, AWSCDK::ARCRegionSwitch::CfnPlan::ExecutionBlockConfigurationProperty (readonly)
The configuration for an execution block in a workflow.
3039 3040 3041 |
# File 'arc_region_switch/cfn_plan.rb', line 3039 def execution_block_configuration @execution_block_configuration end |
#execution_block_type ⇒ String (readonly)
The type of an execution block in a workflow.
3044 3045 3046 |
# File 'arc_region_switch/cfn_plan.rb', line 3044 def execution_block_type @execution_block_type end |
#name ⇒ String (readonly)
The name of a step in a workflow.
3049 3050 3051 |
# File 'arc_region_switch/cfn_plan.rb', line 3049 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
3056 3057 3058 3059 3060 3061 3062 3063 |
# File 'arc_region_switch/cfn_plan.rb', line 3056 def self.jsii_properties { :execution_block_configuration => "executionBlockConfiguration", :execution_block_type => "executionBlockType", :name => "name", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 |
# File 'arc_region_switch/cfn_plan.rb', line 3065 def to_jsii result = {} result.merge!({ "executionBlockConfiguration" => @execution_block_configuration, "executionBlockType" => @execution_block_type, "name" => @name, "description" => @description, }) result.compact end |