Class VpcEndpointService
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ec2.VpcEndpointService
- All Implemented Interfaces:
IEnvironmentAware,IResource,IVpcEndpointService,IVPCEndpointServiceRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:40.531Z")
@Stability(Stable)
public class VpcEndpointService
extends Resource
implements IVpcEndpointService
A VPC endpoint service.
Example:
NetworkLoadBalancer networkLoadBalancer;
VpcEndpointService.Builder.create(this, "EndpointService")
.vpcEndpointServiceLoadBalancers(List.of(networkLoadBalancer))
// Support both IPv4 and IPv6 connections to the endpoint service
.supportedIpAddressTypes(List.of(IpAddressType.IPV4, IpAddressType.IPV6))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpointService
IVpcEndpointService.Jsii$Default, IVpcEndpointService.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedVpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef) VpcEndpointService(software.constructs.Construct scope, String id, VpcEndpointServiceProps props) -
Method Summary
Modifier and TypeMethodDescriptionWhether to require manual acceptance of new connections to the service.One or more Principal ARNs to allow inbound connections to.Whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx.One or more network load balancers to host the service.The service name of the VPC Endpoint Service that clients use to connect to, like com.amazonaws.vpce..vpce-svc-xxxxxxxxxxxxxxxx. A reference to a VPCEndpointService resource.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpointService
getEnv, getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
DEFAULT_PREFIX
The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is{ "Ref": "AWS::Region" }). -
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
VpcEndpointService
protected VpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef) -
VpcEndpointService
protected VpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
VpcEndpointService
@Stability(Stable) public VpcEndpointService(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull VpcEndpointServiceProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
getAcceptanceRequired
Whether to require manual acceptance of new connections to the service. -
getAllowedPrincipals
One or more Principal ARNs to allow inbound connections to. -
getVpcEndpointServiceId
The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx.- Specified by:
getVpcEndpointServiceIdin interfaceIVpcEndpointService
-
getVpcEndpointServiceLoadBalancers
@Stability(Stable) @NotNull public List<IVpcEndpointServiceLoadBalancer> getVpcEndpointServiceLoadBalancers()One or more network load balancers to host the service. -
getVpcEndpointServiceName
The service name of the VPC Endpoint Service that clients use to connect to, like com.amazonaws.vpce..vpce-svc-xxxxxxxxxxxxxxxx. - Specified by:
getVpcEndpointServiceNamein interfaceIVpcEndpointService
-
getVpcEndpointServiceRef
A reference to a VPCEndpointService resource.- Specified by:
getVpcEndpointServiceRefin interfaceIVPCEndpointServiceRef
-
getContributorInsightsEnabled
Whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.
-