DescribeNetworkInterfaceAttribute#

Description#

Describes a network interface attribute.

Request Parameters#

  • Attribute — The attribute of the network interface.

    • Type: String

    • Valid values: description | groupSet | sourceDestCheck | attachment

    • Required: Yes

  • NetworkInterfaceId — The ID of the network interface.

    • Type: String

    • Required: Yes

Response Elements#

  • attachment — The description of the the network interface attachment.

  • description — The description of the network interface.

    • Type: String

  • groupSet — The security groups for the network interface.

  • networkInterfaceId — The ID of the network interface.

    • Type: String

  • requestId — The request ID

    • Type: String

  • sourceDestCheck — Controls whether source/destination checking is enabled on the instance.

Examples#

c2-ec2 DescribeNetworkInterfaceAttribute Attribute "groupSet" NetworkInterfaceId eni-12345678

c2-ec2 DescribeNetworkInterfaceAttribute Attribute "description" NetworkInterfaceId eni-12345678