CfnVPNConnectionRouteProps

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

Bases: object

Properties for defining a CfnVPNConnectionRoute.

Parameters:
  • destination_cidr_block (str) – The CIDR block associated with the local subnet of the customer network.

  • vpn_connection_id (str) – The ID of the VPN connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html

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

cfn_vPNConnection_route_props = ec2.CfnVPNConnectionRouteProps(
    destination_cidr_block="destinationCidrBlock",
    vpn_connection_id="vpnConnectionId"
)

Attributes

destination_cidr_block

The CIDR block associated with the local subnet of the customer network.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html#cfn-ec2-vpnconnectionroute-destinationcidrblock

vpn_connection_id

The ID of the VPN connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html#cfn-ec2-vpnconnectionroute-vpnconnectionid