Interface VPNGatewayV2Props

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, VPNGatewayV2Options
All Known Implementing Classes:
VPNGatewayV2Props.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-15T10:25:09.211Z") @Stability(Experimental) public interface VPNGatewayV2Props extends software.amazon.jsii.JsiiSerializable, VPNGatewayV2Options
(experimental) Properties to define a VPN gateway.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.alpha.*;
 import software.amazon.awscdk.services.ec2.*;
 Subnet subnet;
 SubnetFilter subnetFilter;
 VpcV2 vpcV2;
 VPNGatewayV2Props vPNGatewayV2Props = VPNGatewayV2Props.builder()
         .type(VpnConnectionType.IPSEC_1)
         .vpc(vpcV2)
         // the properties below are optional
         .amazonSideAsn(123)
         .vpnGatewayName("vpnGatewayName")
         .vpnRoutePropagation(List.of(SubnetSelection.builder()
                 .availabilityZones(List.of("availabilityZones"))
                 .onePerAz(false)
                 .subnetFilters(List.of(subnetFilter))
                 .subnetGroupName("subnetGroupName")
                 .subnets(List.of(subnet))
                 .subnetType(SubnetType.PRIVATE_ISOLATED)
                 .build()))
         .build();