Skip to content

Describe Network Interface Permissions

ec2_describe_network_interface_permissions R Documentation

Describes the permissions for your network interfaces

Description

Describes the permissions for your network interfaces.

Usage

ec2_describe_network_interface_permissions(
  NetworkInterfacePermissionIds, Filters, NextToken, MaxResults)

Arguments

NetworkInterfacePermissionIds

The network interface permission IDs.

Filters

One or more filters.

  • network-interface-permission.network-interface-permission-id - The ID of the permission.

  • network-interface-permission.network-interface-id - The ID of the network interface.

  • network-interface-permission.aws-account-id - The Amazon Web Services account ID.

  • network-interface-permission.aws-service - The Amazon Web Services service.

  • network-interface-permission.permission - The type of permission (INSTANCE-ATTACH | EIP-ASSOCIATE).

NextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

MaxResults

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.

Value

A list with the following syntax:

list(
  NetworkInterfacePermissions = list(
    list(
      NetworkInterfacePermissionId = "string",
      NetworkInterfaceId = "string",
      AwsAccountId = "string",
      AwsService = "string",
      Permission = "INSTANCE-ATTACH"|"EIP-ASSOCIATE",
      PermissionState = list(
        State = "pending"|"granted"|"revoking"|"revoked",
        StatusMessage = "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_network_interface_permissions(
  NetworkInterfacePermissionIds = list(
    "string"
  ),
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  NextToken = "string",
  MaxResults = 123
)