describeNetworkInterfaceAttribute
abstract suspend fun describeNetworkInterfaceAttribute(input: DescribeNetworkInterfaceAttributeRequest): DescribeNetworkInterfaceAttributeResponse
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")
}Content copied to clipboard
// This example describes the description attribute of the specified network interface.
val resp = ec2Client.describeNetworkInterfaceAttribute {
networkInterfaceId = "eni-686ea200"
attribute = NetworkInterfaceAttribute.fromValue("description")
}Content copied to clipboard
// This example describes the groupSet attribute of the specified network interface.
val resp = ec2Client.describeNetworkInterfaceAttribute {
networkInterfaceId = "eni-686ea200"
attribute = NetworkInterfaceAttribute.fromValue("groupSet")
}Content copied to clipboard
// This example describes the sourceDestCheck attribute of the specified network interface.
val resp = ec2Client.describeNetworkInterfaceAttribute {
networkInterfaceId = "eni-686ea200"
attribute = NetworkInterfaceAttribute.fromValue("sourceDestCheck")
}Content copied to clipboard