This template creates a VPN connection between a newly created virtual private gateway and a VPN customer gateway (with IP address 1.2.3.4). It specifies the type of connection as ipsec.1 and sets the StaticRoutesOnly property to true. It also includes a VPN route for the subnet 10.0.0.0/16

myVPNConnection
AWS::EC2::VPNConnection


CustomerGateway
AWS::EC2::CustomerGateway


VPNGateway
AWS::EC2::VPNGateway


VPNConnectionRoute
AWS::EC2::VPNConnectionRoute


CloudFormation Template

Share Template