RulePredicate constructor

const RulePredicate({
  1. required Input<String> dataId,
  2. required Input<bool> negated,
  3. required Input<String> type,
})

Creates a new RulePredicate. 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 RulePredicate({
  required this.dataId,
  required this.negated,
  required this.type,
});