Skip to content
v2.273.0

CfnVPNConnectionRouteProps Struct ​

Properties for defining a CfnVPNConnectionRoute.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVPNConnectionRouteProps: ec2.CfnVPNConnectionRouteProps = {
  destinationCidrBlock: 'destinationCidrBlock',
  vpnConnectionId: 'vpnConnectionId',
};

Properties ​

destinationCidrBlockstringdestination_cidr_blockstrdestinationCidrBlockStringDestinationCidrBlockstringDestinationCidrBlock*stringrequired#
The CIDR block associated with the local subnet of the customer network.
vpnConnectionIdstring | IVPNConnectionRefvpn_connection_idtyping.Union[str, IVPNConnectionRef]vpnConnectionIdStringVpnConnectionIdstringVpnConnectionIdinterface{}required#
The ID of the VPN connection.

Used as props by ​