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.
Container for the parameters to the CreateVpcEndpoint operation. Creates a VPC endpoint for a specified service. An endpoint enables you to create a private connection between your VPC and the service. The service may be provided by Amazon Web Services, an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide.
gateway endpoint serves as a target for a route in your route table
for traffic destined for the Amazon Web Service. You can specify an endpoint policy
to attach to the endpoint, which will control access to the service from your VPC.
You can also specify the VPC route tables that use the endpoint.
interface endpoint is a network interface in your subnet that serves
as an endpoint for communicating with the specified service. You can specify the subnets
in which to create an endpoint, and the security groups to associate with the endpoint
GatewayLoadBalancer endpoint is a network interface in your subnet
that serves an endpoint for communicating with a Gateway Load Balancer that you've
configured as a VPC endpoint service.
Use DescribeVpcEndpointServices to get a list of supported services.
public class CreateVpcEndpointRequest : AmazonEC2Request IAmazonWebServiceRequest
The CreateVpcEndpointRequest type exposes the following members
Gets and sets the property ClientToken.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Gets and sets the property PolicyDocument.
(Interface and gateway endpoints) 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.
Gets and sets the property PrivateDnsEnabled.
(Interface endpoint) Indicates whether to associate a private hosted zone with the
specified VPC. The private hosted zone contains a record set for the default public
DNS name for the service for the Region (for example,
To use a private hosted zone, you must set the following VPC attributes to
Gets and sets the property RouteTableIds.
(Gateway endpoint) One or more route table IDs.
Gets and sets the property SecurityGroupIds.
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
Gets and sets the property ServiceName.
The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.
Gets and sets the property SubnetIds.
(Interface and Gateway Load Balancer endpoints) The ID of one or more subnets in which to create an endpoint network interface. For a Gateway Load Balancer endpoint, you can specify one subnet only.
Gets and sets the property TagSpecifications.
The tags to associate with the endpoint.
Gets and sets the property VpcEndpointType.
The type of endpoint.
Gets and sets the property VpcId.
The ID of the VPC in which the endpoint will be used.
.NET Core App:
Supported in: 3.1
Supported in: 2.0
Supported in: 4.5, 4.0, 3.5