Skip to main content

Waf Rule Group



Resource Icon

Resource Overview

An AWS WAF Rule Group is a collection of rules used by the Web Application Firewall. By using Rule Groups, you can bundle multiple rules together to apply them to your web application, enhancing reusability and management efficiency. Rule Groups control critical aspects of web application security and perform actions such as allowing, blocking, or counting requests.

Associated Resources

Parent Resources

Resource Setting Values

  • scope: Specifies whether this is for an AWS CloudFront distribution or for a regional application - REGIONAL, CLOUDFRONT
  • capacity: The web ACL capacity units (WCUs) required for this rule group
  • cloudwatch_metrics_enabled: Set whether the associated resource sends metrics to CloudWatch - true, false
  • metric_name: Name of the CloudWatch metric, The name can contain only alphanumeric characters (A-Z, a-z, 0-9) hyphen(-) and underscore (_), with length from one to 128 characters
  • sampled_requests_enabled: Set whether AWS WAF should store a sampling of the web requests that match the rules - true, false

Reference Materials