Vpn Connection Args
Specifies a VPN connection between a virtual private gateway and a VPN customer gateway or a transit gateway and a VPN customer gateway. To specify a VPN connection between a transit gateway and customer gateway, use the `TransitGatewayId`
and `CustomerGatewayId`
properties. To specify a VPN connection between a virtual private gateway and customer gateway, use the `VpnGatewayId`
and `CustomerGatewayId`
properties. For more information, see in the User Guide.
Constructors
Properties
The ID of the customer gateway at your end of the VPN connection.
Indicate whether to enable acceleration for the VPN connection. Default: `false`
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: `0.0.0.0/0`
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: `::/0`
The type of IPv4 address assigned to the outside interface of the customer gateway device. Valid values: `PrivateIpv4`
| `PublicIpv4`
Default: `PublicIpv4`
The IPv4 CIDR on the AWS side of the VPN connection. Default: `0.0.0.0/0`
The IPv6 CIDR on the AWS side of the VPN connection. Default: `::/0`
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify `true`
.
The ID of the transit gateway associated with the VPN connection. You must specify either `TransitGatewayId`
or `VpnGatewayId`
, but not both.
The transit gateway attachment ID to use for the VPN tunnel. Required if `OutsideIpAddressType`
is set to `PrivateIpv4`
.
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Default: `ipv4`
The ID of the virtual private gateway at the AWS side of the VPN connection. You must specify either `TransitGatewayId`
or `VpnGatewayId`
, but not both.
The tunnel options for the VPN connection.