| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WAFV2.Types.DefaultAction
Description
Synopsis
Documentation
data DefaultAction Source #
In a WebACL, this is the action that you want 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.
See: newDefaultAction smart constructor.
Constructors
| DefaultAction' | |
Fields
| |
Instances
newDefaultAction :: DefaultAction Source #
Create a value of DefaultAction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allow:DefaultAction', defaultAction_allow - Specifies that WAF should allow requests by default.
$sel:block:DefaultAction', defaultAction_block - Specifies that WAF should block requests by default.
defaultAction_allow :: Lens' DefaultAction (Maybe AllowAction) Source #
Specifies that WAF should allow requests by default.
defaultAction_block :: Lens' DefaultAction (Maybe BlockAction) Source #
Specifies that WAF should block requests by default.