@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.511Z") @Stability(value=Stable) public class VpcEndpointService extends Resource implements IVpcEndpointService
Example:
// Example automatically generated from non-compiling source. May contain errors.
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. |
software.amazon.jsii.JsiiObject.InitializationModeIVpcEndpointService.Jsii$Default, IVpcEndpointService.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
VpcEndpointService(software.constructs.Construct scope,
String id,
VpcEndpointServiceProps props) |
protected |
VpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
VpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAcceptanceRequired()
Whether to require manual acceptance of new connections to the service.
|
List<ArnPrincipal> |
getAllowedPrincipals()
One or more Principal ARNs to allow inbound connections to.
|
String |
getVpcEndpointServiceId()
The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx.
|
List<IVpcEndpointServiceLoadBalancer> |
getVpcEndpointServiceLoadBalancers()
One or more network load balancers to host the service.
|
String |
getVpcEndpointServiceName()
The service name of the VPC Endpoint Service that clients use to connect to, like com.amazonaws.vpce.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected VpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef)
protected VpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public VpcEndpointService(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
VpcEndpointServiceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public Boolean getAcceptanceRequired()
@Stability(value=Stable) @NotNull public List<ArnPrincipal> getAllowedPrincipals()
@Stability(value=Stable) @NotNull public String getVpcEndpointServiceId()
getVpcEndpointServiceId in interface IVpcEndpointService@Stability(value=Stable) @NotNull public List<IVpcEndpointServiceLoadBalancer> getVpcEndpointServiceLoadBalancers()
@Stability(value=Stable) @NotNull public String getVpcEndpointServiceName()
getVpcEndpointServiceName in interface IVpcEndpointServiceCopyright © 2022. All rights reserved.