DescribeVpcEndpoints - Amazon Elastic Compute Cloud


Describes your VPC endpoints.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


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.

Type: Boolean

Required: No


The filters.

  • ip-address-type - The IP address type (ipv4 | ipv6).

  • service-name - The name of the service.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC in which the endpoint resides.

  • vpc-endpoint-id - The ID of the endpoint.

  • vpc-endpoint-state - The state of the endpoint (pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

  • vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

Type: Array of Filter objects

Required: No


The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value is greater than 1,000, we return only 1,000 items.

Type: Integer

Required: No


The token for the next set of items to return. (You received this token from a prior call.)

Type: String

Required: No


The IDs of the VPC endpoints.

Type: Array of strings

Required: No

Response Elements

The following elements are returned by the service.


The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

Type: String


The ID of the request.

Type: String


Information about the endpoints.

Type: Array of VpcEndpoint objects


For information about the errors that are common to all actions, see Common client error codes.



This example describes all of your endpoints.

Sample Request &AUTHPARAMS

Sample Response

<DescribeVpcEndpointsResponse xmlns=""> <requestId>8d3e7656-3328-451d-8c86-7156example</requestId> <vpcEndpointSet> <item> <policyDocument>{"Version":"2008-10-17","Statement":[{"Effect":"Allow","Principal":"*","Action":"*","Resource":"*"}]}</policyDocument> <routeTableIdSet> <item>rtb-3d560345</item> </routeTableIdSet> <dnsEntrySet/> <serviceName></serviceName> <privateDnsEnabled>true</privateDnsEnabled> <groupSet/> <vpcEndpointId>vpce-032a826a</vpcEndpointId> <subnetIdSet/> <networkInterfaceIdSet/> <vpcEndpointType>Gateway</vpcEndpointType> <vpcId>vpc-aabb1122</vpcId> <creationTimestamp>2017-09-05T20:41:28Z</creationTimestamp> <state>available</state> <tagSet> <item> <key>Name</key> <value>TeamA</value> </item> </tagSet> </item> <item> <policyDocument>{"Statement": [{"Action": "*", "Effect": "Allow", "Principal": "*", "Resource": "*"}]}</policyDocument> <routeTableIdSet/> <dnsEntrySet> <item> <hostedZoneId>Z7HUB22UULQXV</hostedZoneId> <dnsName></dnsName> </item> <item> <hostedZoneId>Z7HUB22UULQXV</hostedZoneId> <dnsName></dnsName> </item> <item> <hostedZoneId>Z7HUB22UULQXV</hostedZoneId> <dnsName></dnsName> </item> </dnsEntrySet> <serviceName></serviceName> <privateDnsEnabled>false</privateDnsEnabled> <groupSet> <item> <groupName>default</groupName> <groupId>sg-54e8bf31</groupId> </item> </groupSet> <vpcEndpointId>vpce-0f89a33420c1931d7</vpcEndpointId> <subnetIdSet> <item>subnet-d6fcaa8d</item> <item>subnet-7b16de0c</item> </subnetIdSet> <networkInterfaceIdSet> <item>eni-2ec2b084</item> <item>eni-1b4a65cf</item> </networkInterfaceIdSet> <vpcEndpointType>Interface</vpcEndpointType> <vpcId>vpc-1a2b3c4d</vpcId> <creationTimestamp>2017-09-05T17:55:27.583Z</creationTimestamp> <state>available</state> <tagSet> <item> <key>Name</key> <value>TeamA</value> </item> </tagSet> </item> <item> <creationTimestamp>2020-11-11T08:06:03.522Z</creationTimestamp> <networkInterfaceIdSet> <item>eni-111111222222333aad</item> </networkInterfaceIdSet> <ownerId>123456789012</ownerId> <requesterManaged>false</requesterManaged> <serviceName></serviceName> <state>available</state> <subnetIdSet> <item>subnet-aaaabbbb333322211</item> </subnetIdSet> <tagSet/> <vpcEndpointId>vpce-22223333bbbbaaaa1</vpcEndpointId> <vpcEndpointType>GatewayLoadBalancer</vpcEndpointType> <vpcId>vpc-abcabcabc12312312</vpcId> </item> </vpcEndpointSet> </DescribeVpcEndpointsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: