Skip to content

Describe Traffic Mirror Targets

ec2_describe_traffic_mirror_targets R Documentation

Information about one or more Traffic Mirror targets

Description

Information about one or more Traffic Mirror targets.

Usage

ec2_describe_traffic_mirror_targets(TrafficMirrorTargetIds, DryRun,
  Filters, MaxResults, NextToken)

Arguments

TrafficMirrorTargetIds

The ID of the Traffic Mirror targets.

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

Filters

One or more filters. The possible values are:

  • description: The Traffic Mirror target description.

  • network-interface-id: The ID of the Traffic Mirror session network interface.

  • network-load-balancer-arn: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.

  • owner-id: The ID of the account that owns the Traffic Mirror session.

  • traffic-mirror-target-id: The ID of the Traffic Mirror target.

MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken

The token for the next page of results.

Value

A list with the following syntax:

list(
  TrafficMirrorTargets = list(
    list(
      TrafficMirrorTargetId = "string",
      NetworkInterfaceId = "string",
      NetworkLoadBalancerArn = "string",
      Type = "network-interface"|"network-load-balancer"|"gateway-load-balancer-endpoint",
      Description = "string",
      OwnerId = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      GatewayLoadBalancerEndpointId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_traffic_mirror_targets(
  TrafficMirrorTargetIds = list(
    "string"
  ),
  DryRun = TRUE|FALSE,
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)