RateBasedRulePredicate constructor

const RateBasedRulePredicate({
  1. required Input<String> dataId,
  2. required Input<bool> negated,
  3. 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.

Implementation

const RateBasedRulePredicate({
  required this.dataId,
  required this.negated,
  required this.type,
});