Skip to content

Describe Traffic Mirror Filters

ec2_describe_traffic_mirror_filters R Documentation

Describes one or more Traffic Mirror filters

Description

Describes one or more Traffic Mirror filters.

Usage

ec2_describe_traffic_mirror_filters(TrafficMirrorFilterIds, DryRun,
  Filters, MaxResults, NextToken)

Arguments

TrafficMirrorFilterIds

The ID of the Traffic Mirror filter.

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 filter description.

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

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(
  TrafficMirrorFilters = list(
    list(
      TrafficMirrorFilterId = "string",
      IngressFilterRules = list(
        list(
          TrafficMirrorFilterRuleId = "string",
          TrafficMirrorFilterId = "string",
          TrafficDirection = "ingress"|"egress",
          RuleNumber = 123,
          RuleAction = "accept"|"reject",
          Protocol = 123,
          DestinationPortRange = list(
            FromPort = 123,
            ToPort = 123
          ),
          SourcePortRange = list(
            FromPort = 123,
            ToPort = 123
          ),
          DestinationCidrBlock = "string",
          SourceCidrBlock = "string",
          Description = "string",
          Tags = list(
            list(
              Key = "string",
              Value = "string"
            )
          )
        )
      ),
      EgressFilterRules = list(
        list(
          TrafficMirrorFilterRuleId = "string",
          TrafficMirrorFilterId = "string",
          TrafficDirection = "ingress"|"egress",
          RuleNumber = 123,
          RuleAction = "accept"|"reject",
          Protocol = 123,
          DestinationPortRange = list(
            FromPort = 123,
            ToPort = 123
          ),
          SourcePortRange = list(
            FromPort = 123,
            ToPort = 123
          ),
          DestinationCidrBlock = "string",
          SourceCidrBlock = "string",
          Description = "string",
          Tags = list(
            list(
              Key = "string",
              Value = "string"
            )
          )
        )
      ),
      NetworkServices = list(
        "amazon-dns"
      ),
      Description = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

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