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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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.

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)


9962
9963
9964
9965
9966
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9962

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