Class: Aws::CloudFront::Types::ResponseHeadersPolicyContentTypeOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyContentTypeOptions
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
When making an API call, you may pass ResponseHeadersPolicyContentTypeOptions data as a hash:
{
override: false, # required
}
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
-
#override ⇒ Boolean
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.
Instance Attribute Details
#override ⇒ Boolean
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.
11794 11795 11796 11797 11798 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11794 class ResponseHeadersPolicyContentTypeOptions < Struct.new( :override) SENSITIVE = [] include Aws::Structure end |