Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account.
You can grant permission to a single Amazon Web Services account only, and only one account at a time.
get/#Action=CreateNetworkInterfacePermission
Query parameters
NetworkInterfaceIdstring required
The ID of the network interface.
AwsAccountIdstring
The Amazon Web Services account ID.
AwsServicestring
The Amazon Web Service. Currently not supported.
Permission'INSTANCE-ATTACH' | 'EIP-ASSOCIATE' required
The type of permission to grant.
DryRunboolean
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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
Action'CreateNetworkInterfacePermission' required
Version'2016-11-15' required
Response
Success