@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.055Z") @Stability(value=Stable) public interface GatewayVpcEndpointOptions extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
Vpc vpc;
vpc.addGatewayEndpoint("DynamoDbEndpoint", GatewayVpcEndpointOptions.builder()
.service(GatewayVpcEndpointAwsService.DYNAMODB)
// Add only to ISOLATED subnets
.subnets(List.of(SubnetSelection.builder().subnetType(SubnetType.PRIVATE_ISOLATED).build()))
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
GatewayVpcEndpointOptions.Builder
A builder for
GatewayVpcEndpointOptions |
static class |
GatewayVpcEndpointOptions.Jsii$Proxy
An implementation for
GatewayVpcEndpointOptions |
| Modifier and Type | Method and Description |
|---|---|
static GatewayVpcEndpointOptions.Builder |
builder() |
IGatewayVpcEndpointService |
getService()
The service to use for this gateway VPC endpoint.
|
default List<SubnetSelection> |
getSubnets()
Where to add endpoint routing.
|
@Stability(value=Stable) @NotNull IGatewayVpcEndpointService getService()
@Stability(value=Stable) @Nullable default List<SubnetSelection> getSubnets()
By default, this endpoint will be routable from all subnets in the VPC. Specify a list of subnet selection objects here to be more specific.
Default: - All subnets in the VPC
Example:
// Example automatically generated from non-compiling source. May contain errors.
Vpc vpc;
vpc.addGatewayEndpoint("DynamoDbEndpoint", GatewayVpcEndpointOptions.builder()
.service(GatewayVpcEndpointAwsService.DYNAMODB)
// Add only to ISOLATED subnets
.subnets(List.of(SubnetSelection.builder().subnetType(SubnetType.PRIVATE_ISOLATED).build()))
.build());
@Stability(value=Stable) static GatewayVpcEndpointOptions.Builder builder()
GatewayVpcEndpointOptions.Builder of GatewayVpcEndpointOptionsCopyright © 2021. All rights reserved.