AWS::EC2::VPNGatewaySpecifies a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself. 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 { CfnVPNGateway } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnVPNGatewayConfiguration passed to the constructor as CfnVPNGatewayProps.
typeRequiredstringThe type of VPN connection the virtual private gateway supports.
amazonSideAsnOptionalnumberThe private Autonomous System Number (ASN) for the Amazon side of a BGP session.
tagsOptionalCfnTag[]Any tags assigned to the virtual private gateway.
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::VPNGateway