Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . ec2 ]



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.

To create an endpoint service configuration, you must first create a Network Load Balancer for your service. For more information, see VPC Endpoint Services in the Amazon Virtual Private Cloud User Guide .

See also: AWS API Documentation


[--dry-run | --no-dry-run]
[--acceptance-required | --no-acceptance-required]
--network-load-balancer-arns <value>
[--client-token <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--dry-run | --no-dry-run (boolean)

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

--acceptance-required | --no-acceptance-required (boolean)

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

--network-load-balancer-arns (list)

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


"string" "string" ...

--client-token (string)

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.


ServiceConfiguration -> (structure)

Information about the service configuration.

ServiceType -> (list)

The type of service.


Describes the type of service for a VPC endpoint.

ServiceType -> (string)

The type of service.

ServiceId -> (string)

The ID of the service.

ServiceName -> (string)

The name of the service.

ServiceState -> (string)

The service state.

AvailabilityZones -> (list)

In the Availability Zones in which the service is available.


AcceptanceRequired -> (boolean)

Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.

NetworkLoadBalancerArns -> (list)

The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.


BaseEndpointDnsNames -> (list)

The DNS names for the service.


PrivateDnsName -> (string)

The private DNS name for the service.

ClientToken -> (string)

Unique, case-sensitive identifier you provide to ensure the idempotency of the request.