DefaultAction class
In a WebACL, this is the action that you want AWS WAF to perform when
a web request doesn't match any of the rules in the
WebACL
. The
default action must be a terminating action, so count is not allowed.
Constructors
- DefaultAction.new({AllowAction? allow, BlockAction? block})
-
DefaultAction.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allow → AllowAction?
-
Specifies that AWS WAF should allow requests by default.
final
- block → BlockAction?
-
Specifies that AWS WAF should block requests by default.
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