Skip to content

CloudFront  >  Structures  >  ResponseHeadersPolicyContentTypeOptions

ResponseHeadersPolicyContentTypeOptions

Structure Class

ResponseHeadersPolicyContentTypeOptions dataclass

Bases: _SerdeShape

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.

Attributes

override instance-attribute
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.