Describe traffic mirror filters that determine the traffic that is mirrored¶
Description¶
Describe traffic mirror filters that determine the traffic that is mirrored.
Usage¶
ec2_describe_traffic_mirror_filter_rules(TrafficMirrorFilterRuleIds,
TrafficMirrorFilterId, DryRun, Filters, MaxResults, NextToken)
Arguments¶
-
TrafficMirrorFilterRuleIdsTraffic filter rule IDs.
-
TrafficMirrorFilterIdTraffic filter ID.
-
DryRunChecks 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 isUnauthorizedOperation. -
FiltersTraffic mirror filters.
traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule.traffic-mirror-filter-id: The ID of the filter that this rule is associated with.rule-number: The number of the Traffic Mirror rule.rule-action: The action taken on the filtered traffic. Possible actions areacceptandreject.traffic-direction: The traffic direction. Possible directions areingressandegress.protocol: The protocol, for example UDP, assigned to the Traffic Mirror rule.source-cidr-block: The source CIDR block assigned to the Traffic Mirror rule.destination-cidr-block: The destination CIDR block assigned to the Traffic Mirror rule.description: The description of the Traffic Mirror rule.
-
MaxResultsThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
NextTokenThe token for the next page of results.
Value¶
A list with the following syntax:
list(
TrafficMirrorFilterRules = 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"
)
)
)
),
NextToken = "string"
)