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 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.
Instances
FromXML ResponseHeadersPolicyContentTypeOptions Source # | |
ToXML ResponseHeadersPolicyContentTypeOptions Source # | |
Generic ResponseHeadersPolicyContentTypeOptions Source # | |
Read ResponseHeadersPolicyContentTypeOptions Source # | |
Show ResponseHeadersPolicyContentTypeOptions Source # | |
NFData ResponseHeadersPolicyContentTypeOptions Source # | |
Eq ResponseHeadersPolicyContentTypeOptions Source # | |
Hashable ResponseHeadersPolicyContentTypeOptions Source # | |
type Rep ResponseHeadersPolicyContentTypeOptions Source # | |
Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions type Rep ResponseHeadersPolicyContentTypeOptions = D1 ('MetaData "ResponseHeadersPolicyContentTypeOptions" "Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyContentTypeOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) |
newResponseHeadersPolicyContentTypeOptions Source #
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.