ResponseHeadersPolicyFrameOptionsArgs

data class ResponseHeadersPolicyFrameOptionsArgs(val frameOption: Output<String>, val override: Output<Boolean>) : ConvertibleToJava<ResponseHeadersPolicyFrameOptionsArgs>

Determines whether CloudFront includes the `X-Frame-Options` HTTP response header and the header's value. For more information about the `X-Frame-Options` HTTP response header, see X-Frame-Options in the MDN Web Docs.

Constructors

Link copied to clipboard
constructor(frameOption: Output<String>, override: Output<Boolean>)

Properties

Link copied to clipboard
val frameOption: Output<String>

The value of the `X-Frame-Options` HTTP response header. Valid values are `DENY` and `SAMEORIGIN`. For more information about these values, see X-Frame-Options in the MDN Web Docs.

Link copied to clipboard
val override: Output<Boolean>

A Boolean that determines whether CloudFront overrides the `X-Frame-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(): ResponseHeadersPolicyFrameOptionsArgs