Using a regex pattern set in a rule group or Web ACL - 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).

Using a regex pattern set in a rule group or Web ACL

To use a regex pattern set in a rule group or web ACL, in the console, when you add or update the rules in your rule group or web ACL, in the Rule builder interface, for Request option, choose the request component that you want to compare to your pattern set. Choose Match type > String match condition > Matches pattern from regular expression, and then choose the name of the regex pattern set that you want to use.