
com.pulumi.awsnative.cloudfront.kotlin.outputs.ResponseHeadersPolicyReferrerPolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudfront.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property override 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.
* @property referrerPolicy The value of the `Referrer-Policy` HTTP response header. Valid values are:
* - `no-referrer`
* - `no-referrer-when-downgrade`
* - `origin`
* - `origin-when-cross-origin`
* - `same-origin`
* - `strict-origin`
* - `strict-origin-when-cross-origin`
* - `unsafe-url`
* For more information about these values, see [Referrer-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in the MDN Web Docs.
*/
public data class ResponseHeadersPolicyReferrerPolicy(
public val `override`: Boolean,
public val referrerPolicy: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.ResponseHeadersPolicyReferrerPolicy): ResponseHeadersPolicyReferrerPolicy = ResponseHeadersPolicyReferrerPolicy(
`override` = javaType.`override`(),
referrerPolicy = javaType.referrerPolicy(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy