Interface VpcEndpointServiceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
VpcEndpointServiceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:06.276Z") @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();
 
  • Method Details

    • getVpcEndpointServiceLoadBalancers

      @Stability(Stable) @NotNull List<IVpcEndpointServiceLoadBalancer> getVpcEndpointServiceLoadBalancers()
      One or more load balancers to host the VPC Endpoint Service.
    • getAcceptanceRequired

      @Stability(Stable) @Nullable default Boolean getAcceptanceRequired()
      Whether requests from service consumers to connect to the service through an endpoint must be accepted.

      Default: true

    • getAllowedPrincipals

      @Stability(Stable) @Nullable default List<ArnPrincipal> 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

      @Stability(Stable) @Nullable default Boolean getContributorInsights()
      Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.

      Default: false

    • builder

      @Stability(Stable) static VpcEndpointServiceProps.Builder builder()
      Returns:
      a VpcEndpointServiceProps.Builder of VpcEndpointServiceProps