ModifyTrafficMirrorFilterRule#

Description#

Modifies a mirror filter rule.

Request Parameters#

Required parameters#

  • trafficMirrorFilterId — The ID of the mirror filter rule.

    • Type: String

    • Required: Yes

Optional parameters#

  • description — The description of the mirror filter rule.

    • Type: String

    • Required: No

    • Constraints: From 1 to 255 characters

  • destinationCidrBlock — The CIDR block of the traffic destination.

    • Type: String

    • Required: No

  • destinationPortRange — The port range for the traffic destination. Only for TCP (6) or UDP (17) protocol.

  • protocol — The protocol whose packets are filtered by the rule.

    • Type: Integer

    • Required: No

  • removeField.N — The parameters to be removed from the mirror filter rule.

    • Type: Array of strings

    • Required: No

    • Valid values: description | destination-port-range | protocol | source-port-range

  • ruleAction — The action triggered by the mirror filter rule.

    • Type: String

    • Required: No

    • Valid values: accept | reject

  • ruleNumber — The number of the mirror filter rule.

    • Type: Integer

    • Required: No

    • Range: From 1 to 128

  • sourceCidrBlock — The CIDR block of the traffic source.

    • Type: String

    • Required: No

  • sourcePortRange — The port range for the traffic source. Only for TCP (6) or UDP (17) protocol.

  • trafficDirection — The direction of the traffic.

    • Type: String

    • Required: No

    • Valid values:egress | ingress

Response Elements#

Examples#

c2-ec2 ModifyTrafficMirrorFilterRule trafficMirrorFilterRuleId tmfr-B9B7E6AA description new-description destinationCidrBlock 192.168.0.0/16 trafficDirection egress removeField.1 protocol