Interface EnableVpnGatewayOptions

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:37.087Z") @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();