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
Examples
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-permissionsIdentifyIts 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
--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.