Class: AWSCDK::RefactorSpaces::CfnRoute::DefaultRouteInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RefactorSpaces::CfnRoute::DefaultRouteInputProperty
- Defined in:
- refactor_spaces/cfn_route.rb
Overview
The configuration for the default route type.
Instance Attribute Summary collapse
-
#activation_state ⇒ String
readonly
If set to
ACTIVE, traffic is forwarded to this route’s service after the route is created.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(activation_state:) ⇒ DefaultRouteInputProperty
constructor
A new instance of DefaultRouteInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(activation_state:) ⇒ DefaultRouteInputProperty
Returns a new instance of DefaultRouteInputProperty.
645 646 647 648 |
# File 'refactor_spaces/cfn_route.rb', line 645 def initialize(activation_state:) @activation_state = activation_state Jsii::Type.check_type(@activation_state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "activationState") end |
Instance Attribute Details
#activation_state ⇒ String (readonly)
If set to ACTIVE , traffic is forwarded to this route’s service after the route is created.
654 655 656 |
# File 'refactor_spaces/cfn_route.rb', line 654 def activation_state @activation_state end |
Class Method Details
.jsii_properties ⇒ Object
656 657 658 659 660 |
# File 'refactor_spaces/cfn_route.rb', line 656 def self.jsii_properties { :activation_state => "activationState", } end |
Instance Method Details
#to_jsii ⇒ Object
662 663 664 665 666 667 668 |
# File 'refactor_spaces/cfn_route.rb', line 662 def to_jsii result = {} result.merge!({ "activationState" => @activation_state, }) result.compact end |