Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateVpcEndpointCommand

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 the Amazon Web Services PrivateLink Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, CreateVpcEndpointCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, CreateVpcEndpointCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new CreateVpcEndpointCommand(input);
const response = await client.send(command);
see

CreateVpcEndpointCommandInput for command's input shape.

see

CreateVpcEndpointCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateVpcEndpointCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions