RateBasedRulePredicate

data class RateBasedRulePredicate(val dataId: String, val negated: Boolean, val type: String)

Constructors

Link copied to clipboard
constructor(dataId: String, negated: Boolean, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID.

Link copied to clipboard

Set this to false if you want to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address. If set to true, AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44.

Link copied to clipboard

The type of predicate in a rule. Valid values: ByteMatch, GeoMatch, IPMatch, RegexMatch, SizeConstraint, SqlInjectionMatch, or XssMatch.