Amazon WAF rules that add labels - Amazon WAF, Amazon Firewall Manager, and Amazon Shield Advanced
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon WAF rules that add labels

In almost all rules, you can define labels and Amazon WAF will apply them to any matching request.

The following rule types are the only exceptions:

WCUs – 1 WCU for every 5 labels that you define in your web ACL or rule group rules.

Where to find this
  • Rule builder on the console – Under the rule's Action settings, under Label.

  • API data typeRule RuleLabels

You define a label in a rule by specifying the custom namespace strings and name to append to the label namespace prefix. Amazon WAF derives the prefix from the context in which you define the rule. For information about this, see the label syntax information under Label syntax and naming requirements in Amazon WAF.