public static final class GatewayVpcEndpointProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GatewayVpcEndpointProps
GatewayVpcEndpointProps
GatewayVpcEndpointProps.Builder, GatewayVpcEndpointProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
IGatewayVpcEndpointService |
getService()
The service to use for this gateway VPC endpoint.
|
java.util.List<SubnetSelection> |
getSubnets()
Where to add endpoint routing.
|
IVpc |
getVpc()
The VPC network in which the gateway endpoint will be used.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IVpc getVpc()
GatewayVpcEndpointProps
getVpc
in interface GatewayVpcEndpointProps
public final IGatewayVpcEndpointService getService()
GatewayVpcEndpointOptions
getService
in interface GatewayVpcEndpointOptions
public final java.util.List<SubnetSelection> getSubnets()
GatewayVpcEndpointOptions
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());
getSubnets
in interface GatewayVpcEndpointOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()