Class: AWSCDK::EC2::CfnGatewayRouteTableAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnGatewayRouteTableAssociationProps
- Defined in:
- ec2/cfn_gateway_route_table_association_props.rb
Overview
Properties for defining a CfnGatewayRouteTableAssociation.
Instance Attribute Summary collapse
-
#gateway_id ⇒ String, ...
readonly
The ID of the gateway.
-
#route_table_id ⇒ String, AWSCDK::Interfaces::AWSEC2::IRouteTableRef
readonly
The ID of the route table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gateway_id:, route_table_id:) ⇒ CfnGatewayRouteTableAssociationProps
constructor
A new instance of CfnGatewayRouteTableAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gateway_id:, route_table_id:) ⇒ CfnGatewayRouteTableAssociationProps
Returns a new instance of CfnGatewayRouteTableAssociationProps.
11 12 13 14 15 16 |
# File 'ec2/cfn_gateway_route_table_association_props.rb', line 11 def initialize(gateway_id:, route_table_id:) @gateway_id = gateway_id Jsii::Type.check_type(@gateway_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoic3RyaW5nIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19lYzIuSUludGVybmV0R2F0ZXdheVJlZiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuaW50ZXJmYWNlcy5hd3NfZWMyLklWUE5HYXRld2F5UmVmIn1dfX0=")), "gatewayId") @route_table_id = route_table_id Jsii::Type.check_type(@route_table_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoic3RyaW5nIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19lYzIuSVJvdXRlVGFibGVSZWYifV19fQ==")), "routeTableId") end |
Instance Attribute Details
#gateway_id ⇒ String, ... (readonly)
The ID of the gateway.
22 23 24 |
# File 'ec2/cfn_gateway_route_table_association_props.rb', line 22 def gateway_id @gateway_id end |
#route_table_id ⇒ String, AWSCDK::Interfaces::AWSEC2::IRouteTableRef (readonly)
The ID of the route table.
27 28 29 |
# File 'ec2/cfn_gateway_route_table_association_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_gateway_route_table_association_props.rb', line 29 def self.jsii_properties { :gateway_id => "gatewayId", :route_table_id => "routeTableId", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'ec2/cfn_gateway_route_table_association_props.rb', line 36 def to_jsii result = {} result.merge!({ "gatewayId" => @gateway_id, "routeTableId" => @route_table_id, }) result.compact end |