AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
Container for the parameters to the CreateVpcEndpoint operation. Creates a VPC endpoint for a specified AWS service. An endpoint enables you to create a private connection between your VPC and another AWS service in your account. You can specify an endpoint policy to attach to the endpoint that will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint.

Currently, only endpoints to Amazon S3 are supported.

Inheritance Hierarchy


Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class CreateVpcEndpointRequest : AmazonEC2Request

The CreateVpcEndpointRequest type exposes the following members


Public Method CreateVpcEndpointRequest()


Public Property ClientToken System.String Gets and sets the property ClientToken.

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

Public Property PolicyDocument System.String Gets and sets the property PolicyDocument.

A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

Public Property RouteTableIds System.Collections.Generic.List<System.String> Gets and sets the property RouteTableIds.

One or more route table IDs.

Public Property ServiceName System.String Gets and sets the property ServiceName.

The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.

Public Property VpcId System.String Gets and sets the property VpcId.

The ID of the VPC in which the endpoint will be used.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8