RateBasedRulePredicate class
Constructors
-
RateBasedRulePredicate({required Input<String> dataId, required Input<bool> negated, required Input<String> type})
-
Creates a new RateBasedRulePredicate.
dataId A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID.
negated Set this to false if you want to allow, block, or count requests
type The type of predicate in a rule. Valid values: ByteMatch, GeoMatch, IPMatch, RegexMatch, SizeConstraint, SqlInjectionMatch, or XssMatch.
const
-
RateBasedRulePredicate.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
dataId
→ Input<String>
-
A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
negated
→ Input<bool>
-
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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<String>
-
The type of predicate in a rule. Valid values:
ByteMatch, GeoMatch, IPMatch, RegexMatch, SizeConstraint, SqlInjectionMatch, or XssMatch.
final