AWS::EC2::VPCEndpointService - AWS CloudFormation

AWS::EC2::VPCEndpointService

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect.

To create an endpoint service configuration, you must first create one of the following for your service:

For more information, see VPC Endpoint Services in the Amazon Virtual Private Cloud User Guide.

Syntax

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

JSON

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

YAML

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

Properties

AcceptanceRequired

Indicates whether requests from service consumers to create an endpoint to your service must be accepted.

Required: No

Type: Boolean

Update requires: No interruption

GatewayLoadBalancerArns

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

Required: No

Type: List of String

Update requires: No interruption

NetworkLoadBalancerArns

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

Required: No

Type: List of String

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ID of the VPC endpoint service configuration.

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

See also