DescribeNetworkInterfaceAttribute
In this article:
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 network interface attachment.
Type: NetworkInterfaceAttachment object
description — The description of the network interface.
Type: String
groupSet — The security groups for the network interface.
Type: List of GroupIdentifier objects
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.
Type: AttributeBooleanValue object
Examples#
c2-ec2 DescribeNetworkInterfaceAttribute Attribute "groupSet" NetworkInterfaceId eni-12345678
c2-ec2 DescribeNetworkInterfaceAttribute Attribute "description" NetworkInterfaceId eni-12345678