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