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

CloudFormation Template