Class: AWSCDK::Interfaces::AWSEC2::GatewayRouteTableAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEC2::GatewayRouteTableAssociationReference
- Defined in:
- interfaces/awsec2/gateway_route_table_association_reference.rb
Overview
A reference to a GatewayRouteTableAssociation resource.
Instance Attribute Summary collapse
-
#gateway_id ⇒ String
readonly
The GatewayId of the GatewayRouteTableAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gateway_id:) ⇒ GatewayRouteTableAssociationReference
constructor
A new instance of GatewayRouteTableAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gateway_id:) ⇒ GatewayRouteTableAssociationReference
Returns a new instance of GatewayRouteTableAssociationReference.
8 9 10 11 |
# File 'interfaces/awsec2/gateway_route_table_association_reference.rb', line 8 def initialize(gateway_id:) @gateway_id = gateway_id Jsii::Type.check_type(@gateway_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gatewayId") end |
Instance Attribute Details
#gateway_id ⇒ String (readonly)
The GatewayId of the GatewayRouteTableAssociation resource.
16 17 18 |
# File 'interfaces/awsec2/gateway_route_table_association_reference.rb', line 16 def gateway_id @gateway_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsec2/gateway_route_table_association_reference.rb', line 18 def self.jsii_properties { :gateway_id => "gatewayId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsec2/gateway_route_table_association_reference.rb', line 24 def to_jsii result = {} result.merge!({ "gatewayId" => @gateway_id, }) result.compact end |