Class: Aws::CloudFront::Types::ResponseHeadersPolicyContentTypeOptions

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

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.

[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#overrideBoolean

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.

Returns:

  • (Boolean)


9977
9978
9979
9980
9981
# File 'lib/aws-sdk-cloudfront/types.rb', line 9977

class ResponseHeadersPolicyContentTypeOptions < Struct.new(
  :override)
  SENSITIVE = []
  include Aws::Structure
end