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 |
Documentation
data ResponseAction Source #
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
See: newResponseAction
smart constructor.
ResponseAction' | |
|
Instances
newResponseAction :: ResponseAction Source #
Create a value of ResponseAction
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:block:ResponseAction'
, responseAction_block
- Specifies that Shield Advanced should configure its WAF rules with the
WAF Block
action.
You must specify exactly one action, either Block
or Count
.
$sel:count:ResponseAction'
, responseAction_count
- Specifies that Shield Advanced should configure its WAF rules with the
WAF Count
action.
You must specify exactly one action, either Block
or Count
.
responseAction_block :: Lens' ResponseAction (Maybe BlockAction) Source #
Specifies that Shield Advanced should configure its WAF rules with the
WAF Block
action.
You must specify exactly one action, either Block
or Count
.
responseAction_count :: Lens' ResponseAction (Maybe CountAction) Source #
Specifies that Shield Advanced should configure its WAF rules with the
WAF Count
action.
You must specify exactly one action, either Block
or Count
.