Web Acl Rate Based Statement Aggregate Key Type
Setting that indicates how to aggregate the request counts.
Web requests that are missing any of the components specified in the aggregation keys are omitted from the rate-based rule evaluation and handling.
CONSTANT
- Count and limit the requests that match the rate-based rule's scope-down statement. With this option, the counted requests aren't further aggregated. The scope-down statement is the only specification used. When the count of all requests that satisfy the scope-down statement goes over the limit, AWS WAF applies the rule action to all requests that satisfy the scope-down statement. With this option, you must configure theScopeDownStatement
property.CUSTOM_KEYS
- Aggregate the request counts using one or more web request components as the aggregate keys. With this option, you must specify the aggregate keys in theCustomKeys
property. To aggregate on only the IP address or only the forwarded IP address, don't use custom keys. Instead, set the aggregate key type toIP
orFORWARDED_IP
.FORWARDED_IP
- Aggregate the request counts on the first IP address in an HTTP header. With this option, you must specify the header to use in theForwardedIPConfig
property. To aggregate on a combination of the forwarded IP address with other aggregate keys, useCUSTOM_KEYS
.IP
- Aggregate the request counts on the IP address from the web request origin. To aggregate on a combination of the IP address with other aggregate keys, useCUSTOM_KEYS
.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.