ec2_modify_vpc_endpoint_service_permissions: Modifies the permissions for your VPC endpoint service

View source: R/ec2_operations.R

ec2_modify_vpc_endpoint_service_permissionsR Documentation

Modifies the permissions for your VPC endpoint service

Description

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.

See https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_service_permissions/ for full documentation.

Usage

ec2_modify_vpc_endpoint_service_permissions(
  DryRun = NULL,
  ServiceId,
  AddAllowedPrincipals = NULL,
  RemoveAllowedPrincipals = NULL
)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

ServiceId

[required] The ID of the service.

AddAllowedPrincipals

The Amazon Resource Names (ARN) of the principals. Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*).

RemoveAllowedPrincipals

The Amazon Resource Names (ARN) of the principals. Permissions are revoked for principals in this list.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.