VpnConnectionType Enum
The VPN connection type.
Example
ts
const stack = new Stack();
const myVpc = new VpcV2(this, 'Vpc');
const vpnGateway = myVpc.enableVpnGatewayV2({
vpnRoutePropagation: [{ subnetType: SubnetType.PUBLIC }],
type: VpnConnectionType.IPSEC_1,
});
const routeTable = new RouteTable(stack, 'routeTable', {
vpc: myVpc
} );
new Route(stack, 'route', {
destination: '172.31.0.0/24',
target: { gateway: vpnGateway },
routeTable: routeTable,
});
Members
| Member | Description |
|---|---|
IPSEC_1 | The IPsec 1 VPN connection type. |
DUMMY | Dummy member TODO: remove once https://github.com/aws/jsii/issues/231 is fixed. |
Referenced by
VPNGatewayV2Options.typetypetypeTypeType