ResponseHeadersPolicyReferrerPolicyArgs

data class ResponseHeadersPolicyReferrerPolicyArgs(val override: Output<Boolean>, val referrerPolicy: Output<String>) : ConvertibleToJava<ResponseHeadersPolicyReferrerPolicyArgs>

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

Constructors

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

Properties

Link copied to clipboard
val override: Output<Boolean>

A Boolean that determines whether CloudFront overrides the `Referrer-Policy` HTTP response header received from the origin with the one specified in this response headers policy.

Link copied to clipboard
val referrerPolicy: Output<String>

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

Functions

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