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 |
Synopsis
- data ResponseHeadersPolicyCustomHeader = ResponseHeadersPolicyCustomHeader' {}
- newResponseHeadersPolicyCustomHeader :: Text -> Text -> Bool -> ResponseHeadersPolicyCustomHeader
- responseHeadersPolicyCustomHeader_header :: Lens' ResponseHeadersPolicyCustomHeader Text
- responseHeadersPolicyCustomHeader_value :: Lens' ResponseHeadersPolicyCustomHeader Text
- responseHeadersPolicyCustomHeader_override :: Lens' ResponseHeadersPolicyCustomHeader Bool
Documentation
data ResponseHeadersPolicyCustomHeader Source #
An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.
See: newResponseHeadersPolicyCustomHeader
smart constructor.
Instances
newResponseHeadersPolicyCustomHeader Source #
:: Text | |
-> Text | |
-> Bool | |
-> ResponseHeadersPolicyCustomHeader |
Create a value of ResponseHeadersPolicyCustomHeader
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:header:ResponseHeadersPolicyCustomHeader'
, responseHeadersPolicyCustomHeader_header
- The HTTP response header name.
$sel:value:ResponseHeadersPolicyCustomHeader'
, responseHeadersPolicyCustomHeader_value
- The value for the HTTP response header.
$sel:override:ResponseHeadersPolicyCustomHeader'
, responseHeadersPolicyCustomHeader_override
- A Boolean that determines whether CloudFront overrides a response header
with the same name received from the origin with the header specified
here.
responseHeadersPolicyCustomHeader_header :: Lens' ResponseHeadersPolicyCustomHeader Text Source #
The HTTP response header name.
responseHeadersPolicyCustomHeader_value :: Lens' ResponseHeadersPolicyCustomHeader Text Source #
The value for the HTTP response header.
responseHeadersPolicyCustomHeader_override :: Lens' ResponseHeadersPolicyCustomHeader Bool Source #
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.