Describe Network Interface Attribute
| ec2_describe_network_interface_attribute | R Documentation | 
Describes a network interface attribute¶
Description¶
Describes a network interface attribute. You can specify only one attribute at a time.
Usage¶
ec2_describe_network_interface_attribute(DryRun, NetworkInterfaceId,
  Attribute)
Arguments¶
DryRun | 
Checks whether you have the required permissions for the action,
without actually making the request, and provides an error response. If
you have the required permissions, the error response is
  | 
NetworkInterfaceId | 
[required] The ID of the network interface.  | 
Attribute | 
The attribute of the network interface. This parameter is required.  | 
Value¶
A list with the following syntax:
list(
  Attachment = list(
    AttachTime = as.POSIXct(
      "2015-01-01"
    ),
    AttachmentId = "string",
    DeleteOnTermination = TRUE|FALSE,
    DeviceIndex = 123,
    NetworkCardIndex = 123,
    InstanceId = "string",
    InstanceOwnerId = "string",
    Status = "attaching"|"attached"|"detaching"|"detached",
    EnaSrdSpecification = list(
      EnaSrdEnabled = TRUE|FALSE,
      EnaSrdUdpSpecification = list(
        EnaSrdUdpEnabled = TRUE|FALSE
      )
    ),
    EnaQueueCount = 123
  ),
  Description = list(
    Value = "string"
  ),
  Groups = list(
    list(
      GroupId = "string",
      GroupName = "string"
    )
  ),
  NetworkInterfaceId = "string",
  SourceDestCheck = list(
    Value = TRUE|FALSE
  ),
  AssociatePublicIpAddress = TRUE|FALSE
)
Request syntax¶
svc$describe_network_interface_attribute(
  DryRun = TRUE|FALSE,
  NetworkInterfaceId = "string",
  Attribute = "description"|"groupSet"|"sourceDestCheck"|"attachment"|"associatePublicIpAddress"
)
Examples¶
## Not run: 
# This example describes the attachment attribute of the specified network
# interface.
svc$describe_network_interface_attribute(
  Attribute = "attachment",
  NetworkInterfaceId = "eni-686ea200"
)
# This example describes the description attribute of the specified
# network interface.
svc$describe_network_interface_attribute(
  Attribute = "description",
  NetworkInterfaceId = "eni-686ea200"
)
# This example describes the groupSet attribute of the specified network
# interface.
svc$describe_network_interface_attribute(
  Attribute = "groupSet",
  NetworkInterfaceId = "eni-686ea200"
)
# This example describes the sourceDestCheck attribute of the specified
# network interface.
svc$describe_network_interface_attribute(
  Attribute = "sourceDestCheck",
  NetworkInterfaceId = "eni-686ea200"
)
## End(Not run)