ResponseHeadersPolicyContentTypeOptionsArgs

data class ResponseHeadersPolicyContentTypeOptionsArgs(val override: Output<Boolean>) : ConvertibleToJava<ResponseHeadersPolicyContentTypeOptionsArgs>

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.

Constructors

constructor(override: Output<Boolean>)

Properties

Link copied to clipboard
val override: Output<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.

Functions

Link copied to clipboard
open override fun toJava(): ResponseHeadersPolicyContentTypeOptionsArgs