Class: Rule

WAF.Rule

new Rule()

Properties:
Name Type Description
MetricName String Required: Yes. A friendly name or description for the metrics of the rule.Update requires: Replacement
Name String Required: Yes. A friendly name or description of the rule.Update requires: Replacement
Predicates AWSWAFRulePredicates Required: No. The ByteMatchSet, IPSet, SizeConstraintSet, SqlInjectionMatchSet, or XssMatchSet objects to include in a rule. If you add more than one predicate to a rule, a request must match all conditions in order to be allowed or blocked.Update requires: No interruption
Source:

Extends

  • WKResource

WAF.Rule

new Rule()

Properties:
Name Type Description
MetricName String Required: Yes. A friendly name or description for the metrics of the rule.Update requires: Replacement
Name String Required: Yes. A friendly name or description of the rule.Update requires: Replacement
Predicates AWSWAFRulePredicates Required: No. The ByteMatchSet, IPSet, SizeConstraintSet, SqlInjectionMatchSet, or XssMatchSet objects to include in a rule. If you add more than one predicate to a rule, a request must match all conditions in order to be allowed or blocked.Update requires: No interruption
Source:

Extends

  • WKResource