AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::EC2::VPCEndpointService

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect. Service consumers can create an interface VPC endpoint to connect to your service. For more information, see CreateVpcEndpointServiceConfiguration.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::EC2::VPCEndpointService", "Properties" : { "NetworkLoadBalancerArns" : [ String, ... ], "AcceptanceRequired" : Boolean } }

YAML

Type: "AWS::EC2::VPCEndpointService" Properties: NetworkLoadBalancerArns: - String AcceptanceRequired: Boolean

Properties

AcceptanceRequired

Indicate whether requests from service consumers to create an endpoint to your service must be accepted. To accept a request, use AcceptVpcEndpointConnections.

Required: No

Type: Boolean

Update requires: No interruption

NetworkLoadBalancerArns

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

Required: Yes

Type: List of String values

Update requires: No interruption

Return Values

Ref

When you pass the logical ID of an AWS::EC2::VPCEndpointService resource to the intrinsic Ref function, the function returns the ID of the VPC endpoint service configuration.

For more information about using the Ref function, see Ref.