@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:06.480Z") @Stability(value=Experimental) public interface GatewayVpcEndpointOptions extends software.amazon.jsii.JsiiSerializable
Example:
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()
(experimental) The service to use for this gateway VPC endpoint.
|
default List<SubnetSelection> |
getSubnets()
(experimental) Where to add endpoint routing.
|
@Stability(value=Experimental) @NotNull IGatewayVpcEndpointService getService()
@Stability(value=Experimental) @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:
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=Experimental) static GatewayVpcEndpointOptions.Builder builder()
GatewayVpcEndpointOptions.Builder of GatewayVpcEndpointOptionsCopyright © 2022. All rights reserved.