| 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.CustomHTTPHeader
Description
Synopsis
Documentation
data CustomHTTPHeader Source #
A custom header for custom request and response handling. This is used in CustomResponse and CustomRequestHandling.
See: newCustomHTTPHeader smart constructor.
Constructors
| CustomHTTPHeader' | |
Fields
| |
Instances
Create a value of CustomHTTPHeader 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:name:CustomHTTPHeader', customHTTPHeader_name - The name of the custom header.
For custom request header insertion, when WAF inserts the header into
the request, it prefixes this name x-amzn-waf-, to avoid confusion
with the headers that are already in the request. For example, for the
header name sample, WAF inserts the header x-amzn-waf-sample.
$sel:value:CustomHTTPHeader', customHTTPHeader_value - The value of the custom header.
customHTTPHeader_name :: Lens' CustomHTTPHeader Text Source #
The name of the custom header.
For custom request header insertion, when WAF inserts the header into
the request, it prefixes this name x-amzn-waf-, to avoid confusion
with the headers that are already in the request. For example, for the
header name sample, WAF inserts the header x-amzn-waf-sample.
customHTTPHeader_value :: Lens' CustomHTTPHeader Text Source #
The value of the custom header.