VPNConnectionRouteReference

class aws_cdk.aws_ec2.VPNConnectionRouteReference(*, destination_cidr_block, vpn_connection_id)

Bases: object

A reference to a VPNConnectionRoute resource.

Parameters:
  • destination_cidr_block (str) – The DestinationCidrBlock of the VPNConnectionRoute resource.

  • vpn_connection_id (str) – The VpnConnectionId of the VPNConnectionRoute resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

v_pNConnection_route_reference = ec2.VPNConnectionRouteReference(
    destination_cidr_block="destinationCidrBlock",
    vpn_connection_id="vpnConnectionId"
)

Attributes

destination_cidr_block

The DestinationCidrBlock of the VPNConnectionRoute resource.

vpn_connection_id

The VpnConnectionId of the VPNConnectionRoute resource.