@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:33.031Z") public class VpcEndpointService extends Resource implements IVpcEndpointService
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();
Modifier and Type | Class and Description |
---|---|
static class |
VpcEndpointService.Builder
A fluent builder for
VpcEndpointService . |
IVpcEndpointService.Jsii$Default, IVpcEndpointService.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
VpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
VpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef) |
|
VpcEndpointService(software.constructs.Construct scope,
java.lang.String id,
VpcEndpointServiceProps props) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAcceptanceRequired()
Whether to require manual acceptance of new connections to the service.
|
java.util.List<ArnPrincipal> |
getAllowedPrincipals()
One or more Principal ARNs to allow inbound connections to.
|
java.lang.String |
getVpcEndpointServiceId()
The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx.
|
java.util.List<IVpcEndpointServiceLoadBalancer> |
getVpcEndpointServiceLoadBalancers()
One or more network load balancers to host the service.
|
java.lang.String |
getVpcEndpointServiceName()
The service name of the VPC Endpoint Service that clients use to connect to, like com.amazonaws.vpce.
|
java.util.List<ArnPrincipal> |
getWhitelistedPrincipals()
Deprecated.
use `allowedPrincipals`
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected VpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef)
protected VpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public VpcEndpointService(software.constructs.Construct scope, java.lang.String id, VpcEndpointServiceProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public java.lang.Boolean getAcceptanceRequired()
public java.util.List<ArnPrincipal> getAllowedPrincipals()
public java.lang.String getVpcEndpointServiceId()
getVpcEndpointServiceId
in interface IVpcEndpointService
public java.util.List<IVpcEndpointServiceLoadBalancer> getVpcEndpointServiceLoadBalancers()
public java.lang.String getVpcEndpointServiceName()
getVpcEndpointServiceName
in interface IVpcEndpointService
@Deprecated public java.util.List<ArnPrincipal> getWhitelistedPrincipals()