Interface VpcEndpointServiceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcEndpointServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.562Z")
@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")))
.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.One or more load balancers to host the VPC Endpoint Service.default StringDeprecated.This property is not useddefault List<ArnPrincipal>Deprecated.useallowedPrincipalsMethods 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
-
getVpcEndpointServiceName
Deprecated.This property is not used(deprecated) Name of the Vpc Endpoint Service.Default: - CDK generated name
-
getWhitelistedPrincipals
Deprecated.useallowedPrincipals(deprecated) 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
-
builder
- Returns:
- a
VpcEndpointServiceProps.BuilderofVpcEndpointServiceProps
-