Interface VpcEndpointServiceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcEndpointServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:08.914Z")
@Stability(Stable)
public interface VpcEndpointServiceProps
extends software.amazon.jsii.JsiiSerializable
Construction properties for a VpcEndpointService.
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")))
.contributorInsights(true)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcEndpointServicePropsstatic final classAn implementation forVpcEndpointServiceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default BooleanWhether requests from service consumers to connect to the service through an endpoint must be accepted.default List<ArnPrincipal>IAM users, IAM roles, or AWS accounts to allow inbound connections from.default BooleanIndicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.One or more load balancers to host the VPC Endpoint Service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpcEndpointServiceLoadBalancers
@Stability(Stable) @NotNull List<IVpcEndpointServiceLoadBalancer> getVpcEndpointServiceLoadBalancers()One or more load balancers to host the VPC Endpoint Service. -
getAcceptanceRequired
Whether requests from service consumers to connect to the service through an endpoint must be accepted.Default: true
-
getAllowedPrincipals
IAM users, IAM roles, or AWS accounts to allow inbound connections from.These principals can connect to your service using VPC endpoints. Takes a list of one or more ArnPrincipal.
Default: - no principals
-
getContributorInsights
Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.Default: false
-
builder
- Returns:
- a
VpcEndpointServiceProps.BuilderofVpcEndpointServiceProps
-