| 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.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig
Description
Synopsis
- data ResponseHeadersPolicyCustomHeadersConfig = ResponseHeadersPolicyCustomHeadersConfig' {}
- newResponseHeadersPolicyCustomHeadersConfig :: Int -> ResponseHeadersPolicyCustomHeadersConfig
- responseHeadersPolicyCustomHeadersConfig_items :: Lens' ResponseHeadersPolicyCustomHeadersConfig (Maybe [ResponseHeadersPolicyCustomHeader])
- responseHeadersPolicyCustomHeadersConfig_quantity :: Lens' ResponseHeadersPolicyCustomHeadersConfig Int
Documentation
data ResponseHeadersPolicyCustomHeadersConfig Source #
A list of HTTP response header names and their values. CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.
See: newResponseHeadersPolicyCustomHeadersConfig smart constructor.
Constructors
| ResponseHeadersPolicyCustomHeadersConfig' | |
Fields
| |
Instances
newResponseHeadersPolicyCustomHeadersConfig Source #
Arguments
| :: Int | |
| -> ResponseHeadersPolicyCustomHeadersConfig |
Create a value of ResponseHeadersPolicyCustomHeadersConfig 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:items:ResponseHeadersPolicyCustomHeadersConfig', responseHeadersPolicyCustomHeadersConfig_items - The list of HTTP response headers and their values.
$sel:quantity:ResponseHeadersPolicyCustomHeadersConfig', responseHeadersPolicyCustomHeadersConfig_quantity - The number of HTTP response headers in the list.
responseHeadersPolicyCustomHeadersConfig_items :: Lens' ResponseHeadersPolicyCustomHeadersConfig (Maybe [ResponseHeadersPolicyCustomHeader]) Source #
The list of HTTP response headers and their values.
responseHeadersPolicyCustomHeadersConfig_quantity :: Lens' ResponseHeadersPolicyCustomHeadersConfig Int Source #
The number of HTTP response headers in the list.