amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Description

 
Synopsis

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' 

Fields

  • override :: Bool

    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.

Instances

Instances details
FromXML ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

ToXML ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Generic ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Read ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Show ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

NFData ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Eq ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Hashable ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

type Rep ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

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.