AWS::EC2::VPCEndpointServiceCreates a VPC endpoint service configuration to which service consumers ( AWS accounts, users, and IAM roles) can connect. To create an endpoint service configuration, you must first create one of the following for your service: - A [Network Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html) . Service consumers connect to your service using an interface endpoint. - A [Gateway Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/introduction.html) . Service consumers connect to your service using a Gateway Load Balancer endpoint. For more information, see the [AWS PrivateLink User Guide](https://docs.aws.amazon.com/vpc/latest/privatelink/) .
import { CfnVPCEndpointService } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnVPCEndpointServiceConfiguration passed to the constructor as CfnVPCEndpointServiceProps.
acceptanceRequiredOptionalboolean | IResolvableIndicates whether requests from service consumers to create an endpoint to your service must be accepted.
contributorInsightsEnabledOptionalboolean | IResolvableIndicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .
gatewayLoadBalancerArnsOptionalstring[]The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
networkLoadBalancerArnsOptionalstring | ILoadBalancerRef[]The Amazon Resource Names (ARNs) of the Network Load Balancers.
payerResponsibilityOptionalstringThe entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
supportedIpAddressTypesOptionalstring[]The supported IP address types. The possible values are `ipv4` and `ipv6` .
supportedRegionsOptionalstring[]The Regions from which service consumers can access the service.
tagsOptionalCfnTag[]The tags to associate with the service.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::VPCEndpointService