AWS::CloudFront::ResponseHeadersPolicy ContentTypeOptions - AWS CloudFormation

AWS::CloudFront::ResponseHeadersPolicy ContentTypeOptions

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Override" : Boolean }

YAML

Override: Boolean

Properties

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.

Required: Yes

Type: Boolean

Update requires: No interruption