Describe Network Interfaces
ec2_describe_network_interfaces | R Documentation |
Describes the specified network interfaces or all your network interfaces¶
Description¶
Describes the specified network interfaces or all your network interfaces.
If you have a large number of network interfaces, the operation fails
unless you use pagination or one of the following filters: group-id
,
mac-address
, private-dns-name
, private-ip-address
,
private-dns-name
, subnet-id
, or vpc-id
.
We strongly recommend using only paginated requests. Unpaginated requests are susceptible to throttling and timeouts.
Usage¶
ec2_describe_network_interfaces(NextToken, MaxResults, DryRun,
NetworkInterfaceIds, Filters)
Arguments¶
NextToken |
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request. |
MaxResults |
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. You cannot specify this parameter and the network interface IDs parameter in the same request. For more information, see Pagination. |
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
|
NetworkInterfaceIds |
The network interface IDs. Default: Describes all your network interfaces. |
Filters |
One or more filters.
|
Value¶
A list with the following syntax:
list(
NetworkInterfaces = list(
list(
Association = list(
AllocationId = "string",
AssociationId = "string",
IpOwnerId = "string",
PublicDnsName = "string",
PublicIp = "string",
CustomerOwnedIp = "string",
CarrierIp = "string"
),
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
)
)
),
AvailabilityZone = "string",
ConnectionTrackingConfiguration = list(
TcpEstablishedTimeout = 123,
UdpStreamTimeout = 123,
UdpTimeout = 123
),
Description = "string",
Groups = list(
list(
GroupId = "string",
GroupName = "string"
)
),
InterfaceType = "interface"|"natGateway"|"efa"|"efa-only"|"trunk"|"load_balancer"|"network_load_balancer"|"vpc_endpoint"|"branch"|"transit_gateway"|"lambda"|"quicksight"|"global_accelerator_managed"|"api_gateway_managed"|"gateway_load_balancer"|"gateway_load_balancer_endpoint"|"iot_rules_managed"|"aws_codestar_connections_managed",
Ipv6Addresses = list(
list(
Ipv6Address = "string",
IsPrimaryIpv6 = TRUE|FALSE
)
),
MacAddress = "string",
NetworkInterfaceId = "string",
OutpostArn = "string",
OwnerId = "string",
PrivateDnsName = "string",
PrivateIpAddress = "string",
PrivateIpAddresses = list(
list(
Association = list(
AllocationId = "string",
AssociationId = "string",
IpOwnerId = "string",
PublicDnsName = "string",
PublicIp = "string",
CustomerOwnedIp = "string",
CarrierIp = "string"
),
Primary = TRUE|FALSE,
PrivateDnsName = "string",
PrivateIpAddress = "string"
)
),
Ipv4Prefixes = list(
list(
Ipv4Prefix = "string"
)
),
Ipv6Prefixes = list(
list(
Ipv6Prefix = "string"
)
),
RequesterId = "string",
RequesterManaged = TRUE|FALSE,
SourceDestCheck = TRUE|FALSE,
Status = "available"|"associated"|"attaching"|"in-use"|"detaching",
SubnetId = "string",
TagSet = list(
list(
Key = "string",
Value = "string"
)
),
VpcId = "string",
DenyAllIgwTraffic = TRUE|FALSE,
Ipv6Native = TRUE|FALSE,
Ipv6Address = "string",
Operator = list(
Managed = TRUE|FALSE,
Principal = "string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$describe_network_interfaces(
NextToken = "string",
MaxResults = 123,
DryRun = TRUE|FALSE,
NetworkInterfaceIds = list(
"string"
),
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
)
)
Examples¶
## Not run:
#
svc$describe_network_interfaces(
NetworkInterfaceIds = list(
"eni-e5aa89a3"
)
)
## End(Not run)