Class: AWSCDK::EC2::CfnRouteServerPropagationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnRouteServerPropagationProps
- Defined in:
- ec2/cfn_route_server_propagation_props.rb
Overview
Properties for defining a CfnRouteServerPropagation.
Instance Attribute Summary collapse
-
#route_server_id ⇒ String
readonly
The ID of the route server configured for route propagation.
-
#route_table_id ⇒ String
readonly
The ID of the route table configured for route server propagation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(route_server_id:, route_table_id:) ⇒ CfnRouteServerPropagationProps
constructor
A new instance of CfnRouteServerPropagationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(route_server_id:, route_table_id:) ⇒ CfnRouteServerPropagationProps
Returns a new instance of CfnRouteServerPropagationProps.
11 12 13 14 15 16 |
# File 'ec2/cfn_route_server_propagation_props.rb', line 11 def initialize(route_server_id:, route_table_id:) @route_server_id = route_server_id Jsii::Type.check_type(@route_server_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeServerId") @route_table_id = route_table_id Jsii::Type.check_type(@route_table_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeTableId") end |
Instance Attribute Details
#route_server_id ⇒ String (readonly)
The ID of the route server configured for route propagation.
22 23 24 |
# File 'ec2/cfn_route_server_propagation_props.rb', line 22 def route_server_id @route_server_id end |
#route_table_id ⇒ String (readonly)
The ID of the route table configured for route server propagation.
27 28 29 |
# File 'ec2/cfn_route_server_propagation_props.rb', line 27 def route_table_id @route_table_id end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'ec2/cfn_route_server_propagation_props.rb', line 29 def self.jsii_properties { :route_server_id => "routeServerId", :route_table_id => "routeTableId", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'ec2/cfn_route_server_propagation_props.rb', line 36 def to_jsii result = {} result.merge!({ "routeServerId" => @route_server_id, "routeTableId" => @route_table_id, }) result.compact end |