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)


10538
10539
10540
10541
10542
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10538

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