Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyVpcEndpointServicePermissionsCommand

Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (Amazon Web Services accounts, users, and IAM roles) to connect to your endpoint service.

If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.

example

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

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

ModifyVpcEndpointServicePermissionsCommandInput for command's input shape.

see

ModifyVpcEndpointServicePermissionsCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyVpcEndpointServicePermissionsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions