Amazon Elastic Compute Cloud
API Reference (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

DescribeNetworkInterfaceAttribute

Description

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

Request Parameters

NetworkInterfaceId

The ID of the network interface.

Type: String

Default: None

Required: Yes

Attribute

The attribute of the network interface.

Type: String

Default: None

Valid values: description | groupSet | sourceDestCheck | attachment

Required: Yes

Response Elements

The following elements are returned in a DescribeNetworkInterfaceAttributeResponse element.

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/2013-02-01/">
      <requestId>7a20c6b2-d71c-45fb-bba7-37306850544b</requestId>
      <networkInterfaceId>eni-686ea200</networkInterfaceId>
      <sourceDestCheck>
        <value>true</value>
      </sourceDestCheck>
    </DescribeNetworkInterfaceAttributeResponse>