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.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.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.
- vpn_connection_id
The ID of the VPN connection.