aws::waf-rate-rule-regional

Creates a regional rate-rule.

Example

aws::waf-rate-rule-regional rule-example
     name: "rate-rule-example"
     metric-name: "rateRuleExample"
     rate-key: "IP"
     rate-limit: 2000

     predicate
         condition: $(aws::waf-regex-match-set-regional regex-match-set-example-waf)
     end
end

Attributes

Attribute Description
name The name of the rule. (Required)
metric-name The metric name of the rule. Can only contain letters and numbers. (Required)
rate-key The rate key based on which the rate would be checked. (Required)
rate-limit The rate limit at which the action would be taken. Minimum allowed value is 2000. (Required)
predicate set subresource

A set of predicates specifying the connection between rule and conditions. Maximum allowed items are 10.

condition
The condition to be attached with the rule. (Required)
negated
Set if the condition is checked to be false. Defaults to false.
type
The type of condition being attached. Valid values are XssMatch, GeoMatch, SqlInjectionMatch, ByteMatch, RegexMatch, SizeConstraint or IPMatch.