Amazon Elastic Compute Cloud
API Reference (API Version 2012-04-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

DescribeNetworkInterfaceAttribute

Description

Describes a network interface attribute. Only one attribute can be specified per call.

Request Parameters

NameDescriptionRequired

NetworkInterfaceId

The ID of the network interface.

Type: String

Default: None

Yes

Attribute

The attribute of the network interface to get.

Type: String

Default: None

Valid values: description | groupSet | sourceDestCheck | attachment

Yes

Response Elements

The elements in the following table are wrapped in a DescribeNetworkInterfaceAttribute structure.

NameDescription

requestId

The ID of the request.

Type: xsd:string

networkInterfaceId

The ID of the network interface.

Type: xsd:string

Examples

Example Request

This example describes the attributes of a network interface.

http://ec2.us-east-1.amazonaws.com/?Action=DescribeNetworkInterfaceAttribute&NetworkInterfaceId=eni-686ea200&Attribute=sourceDestCheck&AUTH_PARAMS

Example Response

<DescribeNetworkInterfaceAttributeResponse
					xmlns="http://ec2.amazonaws.com/doc/2011-12-15/">
      <requestId>7a20c6b2-d71c-45fb-bba7-37306850544b</requestId>
      <networkInterfaceId>eni-686ea200</networkInterfaceId>
      <sourceDestCheck>
        <value>true</value>
      </sourceDestCheck>
    </DescribeNetworkInterfaceAttributeResponse>