Interface EnableVpnGatewayOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, VpnGatewayProps
All Known Implementing Classes:
EnableVpnGatewayOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:50:56.567Z") @Stability(Stable) public interface EnableVpnGatewayOptions extends software.amazon.jsii.JsiiSerializable, VpnGatewayProps
Options for the Vpc.enableVpnGateway() method.

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.*;
 Subnet subnet;
 SubnetFilter subnetFilter;
 EnableVpnGatewayOptions enableVpnGatewayOptions = EnableVpnGatewayOptions.builder()
         .type("type")
         // the properties below are optional
         .amazonSideAsn(123)
         .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();