DescribeNetworkInterfaceAttribute - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Describes a network interface attribute. You can specify only one attribute at a time.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


The attribute of the network interface. This parameter is required.

Type: String

Valid Values: description | groupSet | sourceDestCheck | attachment

Required: No


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.

Type: Boolean

Required: No


The ID of the network interface.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.


The attachment (if any) of the network interface.

Type: NetworkInterfaceAttachment object


The description of the network interface.

Type: AttributeValue object


The security groups associated with the network interface.

Type: Array of GroupIdentifier objects


The ID of the network interface.

Type: String


The ID of the request.

Type: String


Indicates whether source/destination checking is enabled.

Type: AttributeBooleanValue object


For information about the errors that are common to all actions, see Common client error codes.



This example describes the sourceDestCheck attribute of the specified network interface.

Sample Request &NetworkInterfaceId=eni-686ea200 &Attribute=sourceDestCheck &AUTHPARAMS

Sample Response

<DescribeNetworkInterfaceAttributeResponse xmlns=""> <requestId>7a20c6b2-d71c-45fb-bba7-37306850544b</requestId> <networkInterfaceId>eni-686ea200</networkInterfaceId> <sourceDestCheck> <value>true</value> </sourceDestCheck> </DescribeNetworkInterfaceAttributeResponse>

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: