@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:28.776Z") @Stability(value=Experimental) public interface EnableVpnGatewayOptions extends software.amazon.jsii.JsiiSerializable, VpnGatewayProps
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")
.subnetName("subnetName")
.subnets(List.of(subnet))
.subnetType(SubnetType.ISOLATED)
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EnableVpnGatewayOptions.Builder
A builder for
EnableVpnGatewayOptions |
static class |
EnableVpnGatewayOptions.Jsii$Proxy
An implementation for
EnableVpnGatewayOptions |
| Modifier and Type | Method and Description |
|---|---|
static EnableVpnGatewayOptions.Builder |
builder() |
default List<SubnetSelection> |
getVpnRoutePropagation()
(experimental) Provide an array of subnets where the route propagation should be added.
|
getAmazonSideAsn, getType@Stability(value=Experimental) @Nullable default List<SubnetSelection> getVpnRoutePropagation()
Default: noPropagation
@Stability(value=Experimental) static EnableVpnGatewayOptions.Builder builder()
builder in interface VpnGatewayPropsEnableVpnGatewayOptions.Builder of EnableVpnGatewayOptionsCopyright © 2022. All rights reserved.