Interface GatewayVpcEndpointProps
- All Superinterfaces:
GatewayVpcEndpointOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GatewayVpcEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.326Z")
@Stability(Stable)
public interface GatewayVpcEndpointProps
extends software.amazon.jsii.JsiiSerializable, GatewayVpcEndpointOptions
Construction properties for a GatewayVpcEndpoint.
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.*;
IGatewayVpcEndpointService gatewayVpcEndpointService;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
GatewayVpcEndpointProps gatewayVpcEndpointProps = GatewayVpcEndpointProps.builder()
.service(gatewayVpcEndpointService)
.vpc(vpc)
// the properties below are optional
.subnets(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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGatewayVpcEndpointPropsstatic final classAn implementation forGatewayVpcEndpointProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.ec2.GatewayVpcEndpointOptions
getService, getSubnetsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpc
The VPC network in which the gateway endpoint will be used. -
builder
- Returns:
- a
GatewayVpcEndpointProps.BuilderofGatewayVpcEndpointProps
-