Class GatewayVpcEndpointOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.GatewayVpcEndpointOptions.Jsii$Proxy
- All Implemented Interfaces:
GatewayVpcEndpointOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
GatewayVpcEndpointOptions
@Stability(Stable)
@Internal
public static final class GatewayVpcEndpointOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements GatewayVpcEndpointOptions
An implementation for
GatewayVpcEndpointOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.GatewayVpcEndpointOptions
GatewayVpcEndpointOptions.Builder, GatewayVpcEndpointOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theGatewayVpcEndpointOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
The service to use for this gateway VPC endpoint.final List<SubnetSelection>
Where to add endpoint routing.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theGatewayVpcEndpointOptions.Builder
.
-
-
Method Details
-
getService
Description copied from interface:GatewayVpcEndpointOptions
The service to use for this gateway VPC endpoint.- Specified by:
getService
in interfaceGatewayVpcEndpointOptions
-
getSubnets
Description copied from interface:GatewayVpcEndpointOptions
Where to add endpoint routing.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());
- Specified by:
getSubnets
in interfaceGatewayVpcEndpointOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-