paws.compute (version 0.1.0)

ec2_create_network_interface_permission: Grants an AWS-authorized account permission to attach the specified network interface to an instance in their account

Description

Grants an AWS-authorized account permission to attach the specified network interface to an instance in their account.

Usage

ec2_create_network_interface_permission(NetworkInterfaceId,
  AwsAccountId, AwsService, Permission, DryRun)

Arguments

NetworkInterfaceId

[required] The ID of the network interface.

AwsAccountId

The AWS account ID.

AwsService

The AWS 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 is UnauthorizedOperation.

Request syntax

svc$create_network_interface_permission(
  NetworkInterfaceId = "string",
  AwsAccountId = "string",
  AwsService = "string",
  Permission = "INSTANCE-ATTACH"|"EIP-ASSOCIATE",
  DryRun = TRUE|FALSE
)

Details

You can grant permission to a single AWS account only, and only one account at a time.