All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.cloudfront.kotlin.outputs.GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.66.3.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cloudfront.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property override Whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.
 * @property referrerPolicy Value of the Referrer-Policy HTTP response header. Valid Values: `no-referrer` | `no-referrer-when-downgrade` | `origin` | `origin-when-cross-origin` | `same-origin` | `strict-origin` | `strict-origin-when-cross-origin` | `unsafe-url`
 */
public data class GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy(
    public val `override`: Boolean,
    public val referrerPolicy: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.cloudfront.outputs.GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy): GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy =
            GetResponseHeadersPolicySecurityHeadersConfigReferrerPolicy(
                `override` = javaType.`override`(),
                referrerPolicy = javaType.referrerPolicy(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy