Class: AWSCDK::ARCRegionSwitch::CfnPlan::ArcRoutingControlStateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::ArcRoutingControlStateProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
Instance Attribute Summary collapse
- #routing_control_arn ⇒ String readonly
- #state ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(routing_control_arn:, state:) ⇒ ArcRoutingControlStateProperty
constructor
A new instance of ArcRoutingControlStateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(routing_control_arn:, state:) ⇒ ArcRoutingControlStateProperty
Returns a new instance of ArcRoutingControlStateProperty.
759 760 761 762 763 764 |
# File 'arc_region_switch/cfn_plan.rb', line 759 def initialize(routing_control_arn:, state:) @routing_control_arn = routing_control_arn Jsii::Type.check_type(@routing_control_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routingControlArn") @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") end |
Instance Attribute Details
#routing_control_arn ⇒ String (readonly)
768 769 770 |
# File 'arc_region_switch/cfn_plan.rb', line 768 def routing_control_arn @routing_control_arn end |
#state ⇒ String (readonly)
771 772 773 |
# File 'arc_region_switch/cfn_plan.rb', line 771 def state @state end |
Class Method Details
.jsii_properties ⇒ Object
773 774 775 776 777 778 |
# File 'arc_region_switch/cfn_plan.rb', line 773 def self.jsii_properties { :routing_control_arn => "routingControlArn", :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
780 781 782 783 784 785 786 787 |
# File 'arc_region_switch/cfn_plan.rb', line 780 def to_jsii result = {} result.merge!({ "routingControlArn" => @routing_control_arn, "state" => @state, }) result.compact end |