Class VpcEndpointService
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.ec2.VpcEndpointService
- All Implemented Interfaces:
IConstruct,IDependable,IResource,IVpcEndpointService,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.560Z")
@Stability(Stable)
public class VpcEndpointService
extends Resource
implements IVpcEndpointService
A VPC endpoint service.
Example:
NetworkLoadBalancer networkLoadBalancer1;
NetworkLoadBalancer networkLoadBalancer2;
VpcEndpointService.Builder.create(this, "EndpointService")
.vpcEndpointServiceLoadBalancers(List.of(networkLoadBalancer1, networkLoadBalancer2))
.acceptanceRequired(true)
.allowedPrincipals(List.of(new ArnPrincipal("arn:aws:iam::123456789012:root")))
.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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpointService
IVpcEndpointService.Jsii$Default, IVpcEndpointService.Jsii$Proxy -
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.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. Deprecated.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
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.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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
-
getWhitelistedPrincipals
Deprecated.useallowedPrincipals(deprecated) One or more Principal ARNs to allow inbound connections to.
-
allowedPrincipals