Traffic Mirror Filter Rule

A Traffic Mirror Filter Rule in AWS defines the criteria for capturing and mirroring network traffic in a VPC. It specifies conditions such as source and destination CIDR blocks, protocols, and port ranges to determine which traffic is mirrored. These rules are applied to a Traffic Mirror Filter, allowing fine-grained control over the traffic sent to monitoring and security appliances.

aws.ec2_traffic_mirror_filter_rule

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
descriptioncorestringThe description of the Traffic Mirror rule.
destination_cidr_blockcorestringThe destination CIDR block assigned to the Traffic Mirror rule.
destination_port_rangecorejsonThe destination port range assigned to the Traffic Mirror rule.
protocolcoreint64The protocol assigned to the Traffic Mirror rule.
rule_actioncorestringThe action assigned to the Traffic Mirror rule.
rule_numbercoreint64The rule number of the Traffic Mirror rule.
source_cidr_blockcorestringThe source CIDR block assigned to the Traffic Mirror rule.
source_port_rangecorejsonThe source port range assigned to the Traffic Mirror rule.
tagscorehstore
traffic_directioncorestringThe traffic direction assigned to the Traffic Mirror rule.
traffic_mirror_filter_idcorestringThe ID of the Traffic Mirror filter that the rule is associated with.
traffic_mirror_filter_rule_idcorestringThe ID of the Traffic Mirror rule.