Optional ReadonlyenabledWhether per-user (Authorization header) rate limiting is enabled.
Has effect only on REGIONAL-scoped WAFs.
Optional ReadonlyevaluationTime window in seconds for counting per-user requests.
Optional ReadonlylimitMaximum requests allowed per distinct authorization header value within the evaluation window.
When exceeded, requests bearing that token are blocked until the rate drops below the limit.
Optional ReadonlypriorityPriority for the per-user rate limit rule in the WAF rule evaluation order. Must be unique across all rules and is reserved by default.
Per-user rate limiting configuration.
Adds a second rate-based rule that aggregates request counts on the value of the
authorizationheader (the Cognito-issued bearer token) rather than on source IP. This enforces a per-principal limit that survives distributed clients or shared NAT — the scenario where many users share one egress IP, or one abusive client spreads requests across many IPs. Only applied forREGIONALscope (API Gateway); CloudFront-scoped WAFs front the UI where this header is not present.See
https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-rate-based-aggregate-keys.html