@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.413Z") @Stability(value=Stable) 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")
.subnets(List.of(subnet))
.subnetType(SubnetType.PRIVATE_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()
Provide an array of subnets where the route propagation should be added.
|
getAmazonSideAsn, getType@Stability(value=Stable) @Nullable default List<SubnetSelection> getVpnRoutePropagation()
Default: noPropagation
@Stability(value=Stable) static EnableVpnGatewayOptions.Builder builder()
builder in interface VpnGatewayPropsEnableVpnGatewayOptions.Builder of EnableVpnGatewayOptionsCopyright © 2022. All rights reserved.