Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account
Source:R/ec2_operations.R
ec2_create_network_interface_permission.RdGrants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account.
See https://www.paws-r-sdk.com/docs/ec2_create_network_interface_permission/ for full documentation.
Usage
ec2_create_network_interface_permission(
NetworkInterfaceId,
AwsAccountId = NULL,
AwsService = NULL,
Permission,
DryRun = NULL
)Arguments
- NetworkInterfaceId
[required] The ID of the network interface.
- AwsAccountId
The Amazon Web Services account ID.
- AwsService
The Amazon Web Services service. Currently not supported.
- Permission
[required] The type of permission to grant.
- 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 isUnauthorizedOperation.