AWS::EC2::VPNConnectionRouteSpecifies a static route for a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway. For more information, see [AWS Site-to-Site VPN](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *AWS Site-to-Site VPN User Guide* .
import { CfnVPNConnectionRoute } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnVPNConnectionRouteConfiguration passed to the constructor as CfnVPNConnectionRouteProps.
destinationCidrBlockRequiredstringThe CIDR block associated with the local subnet of the customer network.
vpnConnectionIdRequiredstring | IVPNConnectionRefThe ID of the VPN connection.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::VPNConnectionRoute