| 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.ResponseHeadersPolicyContentTypeOptions
Description
Documentation
data ResponseHeadersPolicyContentTypeOptions Source #
Determines whether CloudFront includes the X-Content-Type-Options HTTP
response header with its value set to nosniff.
For more information about the X-Content-Type-Options HTTP response
header, see
X-Content-Type-Options
in the MDN Web Docs.
See: newResponseHeadersPolicyContentTypeOptions smart constructor.
Constructors
| ResponseHeadersPolicyContentTypeOptions' | |
Instances
newResponseHeadersPolicyContentTypeOptions Source #
Arguments
| :: Bool | |
| -> ResponseHeadersPolicyContentTypeOptions |
Create a value of ResponseHeadersPolicyContentTypeOptions 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:override:ResponseHeadersPolicyContentTypeOptions', responseHeadersPolicyContentTypeOptions_override - A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options HTTP response header received from the origin
with the one specified in this response headers policy.
responseHeadersPolicyContentTypeOptions_override :: Lens' ResponseHeadersPolicyContentTypeOptions Bool Source #
A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options HTTP response header received from the origin
with the one specified in this response headers policy.