/AWS1/CL_EC2=>MODIFYVPCENDPTSERVICEPERMS()
¶
About ModifyVpcEndpointServicePermissions¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_SERVICEID
TYPE /AWS1/EC2VPCENDPOINTSERVICEID
/AWS1/EC2VPCENDPOINTSERVICEID
¶
The ID of the service.
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
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 isUnauthorizedOperation
.
IT_ADDALLOWEDPRINCIPALS
TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST
TT_VALUESTRINGLIST
¶
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 (*).
IT_REMOVEALLOWEDPRINCIPALS
TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST
TT_VALUESTRINGLIST
¶
The Amazon Resource Names (ARN) of the principals. Permissions are revoked for principals in this list.