describeNetworkInterfaceAttribute

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

Samples

// This example describes the attachment attribute of the specified network interface.
val resp = ec2Client.describeNetworkInterfaceAttribute {
    networkInterfaceId = "eni-686ea200"
    attribute = NetworkInterfaceAttribute.fromValue("attachment")
}
// This example describes the description attribute of the specified network interface.
val resp = ec2Client.describeNetworkInterfaceAttribute {
    networkInterfaceId = "eni-686ea200"
    attribute = NetworkInterfaceAttribute.fromValue("description")
}
// This example describes the groupSet attribute of the specified network interface.
val resp = ec2Client.describeNetworkInterfaceAttribute {
    networkInterfaceId = "eni-686ea200"
    attribute = NetworkInterfaceAttribute.fromValue("groupSet")
}
// This example describes the sourceDestCheck attribute of the specified network interface.
val resp = ec2Client.describeNetworkInterfaceAttribute {
    networkInterfaceId = "eni-686ea200"
    attribute = NetworkInterfaceAttribute.fromValue("sourceDestCheck")
}