@Stability(value=Experimental) public static final class GatewayVpcEndpoint.Builder extends Object implements software.amazon.jsii.Builder<GatewayVpcEndpoint>
GatewayVpcEndpoint.| Modifier and Type | Method and Description |
|---|---|
GatewayVpcEndpoint |
build() |
static GatewayVpcEndpoint.Builder |
create(software.constructs.Construct scope,
String id) |
GatewayVpcEndpoint.Builder |
service(IGatewayVpcEndpointService service)
(experimental) The service to use for this gateway VPC endpoint.
|
GatewayVpcEndpoint.Builder |
subnets(List<? extends SubnetSelection> subnets)
(experimental) Where to add endpoint routing.
|
GatewayVpcEndpoint.Builder |
vpc(IVpc vpc)
(experimental) The VPC network in which the gateway endpoint will be used.
|
@Stability(value=Experimental) public static GatewayVpcEndpoint.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.GatewayVpcEndpoint.Builder.@Stability(value=Experimental) public GatewayVpcEndpoint.Builder service(IGatewayVpcEndpointService service)
service - The service to use for this gateway VPC endpoint. This parameter is required.this@Stability(value=Experimental) public GatewayVpcEndpoint.Builder subnets(List<? extends SubnetSelection> subnets)
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 without compilation. See https://github.com/aws/jsii/issues/826 vpc.addGatewayEndpoint("DynamoDbEndpoint", Map.of( "service", ec2.GatewayVpcEndpointAwsService.getDYNAMODB(), // Add only to ISOLATED subnets "subnets", asList(Map.of("subnetType", ec2.SubnetType.getISOLATED()))));
subnets - Where to add endpoint routing. This parameter is required.this@Stability(value=Experimental) public GatewayVpcEndpoint.Builder vpc(IVpc vpc)
vpc - The VPC network in which the gateway endpoint will be used. This parameter is required.this@Stability(value=Experimental) public GatewayVpcEndpoint build()
build in interface software.amazon.jsii.Builder<GatewayVpcEndpoint>Copyright © 2021. All rights reserved.