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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.GatewayVpcEndpointProps
GatewayVpcEndpointProps.Builder, GatewayVpcEndpointProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theGatewayVpcEndpointProps.Builder.protectedJsii$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.JsonNodefinal booleanThe service to use for this gateway VPC endpoint.final List<SubnetSelection>Where to add endpoint routing.final IVpcgetVpc()The VPC network in which the gateway endpoint will be used.final inthashCode()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:GatewayVpcEndpointPropsThe VPC network in which the gateway endpoint will be used.- Specified by:
getVpcin interfaceGatewayVpcEndpointProps
-
getService
Description copied from interface:GatewayVpcEndpointOptionsThe service to use for this gateway VPC endpoint.- Specified by:
getServicein interfaceGatewayVpcEndpointOptions
-
getSubnets
Description copied from interface:GatewayVpcEndpointOptionsWhere 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:
getSubnetsin interfaceGatewayVpcEndpointOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-