CmdID

CmdID / aws / aws ec2

aws ec2 describe-network-interface-permissions

Describes the permissions for your network interfaces. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To describe your network interface permissions

The following describe-network-interface-permissions example describes all of your network interface permissions.

aws ec2 describe-network-interface-permissionsIdentify
Its output
{
    "NetworkInterfacePermissions": [
        {
            "PermissionState": {
                "State": "GRANTED"
            },
            "NetworkInterfacePermissionId": "eni-perm-06fd19020ede149ea",
            "NetworkInterfaceId": "eni-b909511a",
            "Permission": "INSTANCE-ATTACH",
            "AwsAccountId": "123456789012"
        }
    ]
}

For more information, see Elastic network interfaces in the Amazon EC2 User Guide.

Options

4 in the AWS CLI reference
--filtersOne or more filters.
--max-resultsThe maximum number of items to return for this request.
--network-interface-permission-idsThe network interface permission IDs.
--next-tokenThe token returned from a previous paginated request.