RuleAction class
The action that AWS WAF should take on a web request when it matches a
rule's statement. Settings at the web ACL level can override the rule action
setting.
Constructors
- RuleAction({AllowAction? allow, BlockAction? block, CountAction? count})
-
RuleAction.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allow → AllowAction?
-
Instructs AWS WAF to allow the web request.
final
- block → BlockAction?
-
Instructs AWS WAF to block the web request.
final
- count → CountAction?
-
Instructs AWS WAF to count the web request and allow it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited