Class: AWSCDK::ARCRegionSwitch::CfnPlan::ArcRoutingControlStateProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
arc_region_switch/cfn_plan.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(routing_control_arn:, state:) ⇒ ArcRoutingControlStateProperty

Returns a new instance of ArcRoutingControlStateProperty.

Parameters:

  • routing_control_arn (String)
  • state (String)


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_arnString (readonly)



768
769
770
# File 'arc_region_switch/cfn_plan.rb', line 768

def routing_control_arn
  @routing_control_arn
end

#stateString (readonly)



771
772
773
# File 'arc_region_switch/cfn_plan.rb', line 771

def state
  @state
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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