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