Class: AWSCDK::Interfaces::AWSEC2::VPNGatewayRoutePropagationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsec2/vpn_gateway_route_propagation_reference.rb

Overview

A reference to a VPNGatewayRoutePropagation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpn_gateway_route_propagation_id:) ⇒ VPNGatewayRoutePropagationReference

Returns a new instance of VPNGatewayRoutePropagationReference.

Parameters:

  • vpn_gateway_route_propagation_id (String)

    The Id of the VPNGatewayRoutePropagation resource.



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_idString (readonly)

The Id of the VPNGatewayRoutePropagation resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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