Class GatewayVpcEndpointProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.GatewayVpcEndpointProps.Jsii$Proxy
- All Implemented Interfaces:
GatewayVpcEndpointOptions
,GatewayVpcEndpointProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GatewayVpcEndpointProps
@Stability(Stable)
@Internal
public static final class GatewayVpcEndpointProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements GatewayVpcEndpointProps
An implementation for
GatewayVpcEndpointProps
-
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.GatewayVpcEndpointProps
GatewayVpcEndpointProps.Builder, GatewayVpcEndpointProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theGatewayVpcEndpointProps.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 IVpc
getVpc()
The VPC network in which the gateway endpoint will be used.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 theGatewayVpcEndpointProps.Builder
.
-
-
Method Details
-
getVpc
Description copied from interface:GatewayVpcEndpointProps
The VPC network in which the gateway endpoint will be used.- Specified by:
getVpc
in interfaceGatewayVpcEndpointProps
-
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()
-