A VPC endpoint service.
import { VpcEndpointService } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.VpcEndpointServiceConfiguration passed to the constructor as VpcEndpointServiceProps.
vpcEndpointServiceLoadBalancersRequiredIVpcEndpointServiceLoadBalancer[]One or more load balancers to host the VPC Endpoint Service.
acceptanceRequiredOptionalbooleanWhether requests from service consumers to connect to the service through an endpoint must be accepted.
Default: true
allowedPrincipalsOptionalArnPrincipal[]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
allowedRegionsOptionalstring[]The Regions from which service consumers can access the service.
Default: - No Region restrictions
contributorInsightsOptionalbooleanIndicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.
Default: false
supportedIpAddressTypesOptionalIpAddressType[]Specify which IP address types are supported for VPC endpoint service.
Default: - No specific IP address types configured
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2