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.
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.
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);
CreateVpcEndpointCommandInput for command's
input
shape.CreateVpcEndpointCommandOutput for command's
response
shape.config for EC2Client's
config
shape.