
com.pulumi.awsnative.cloudfront.kotlin.inputs.OriginRequestPolicyQueryStringsConfigArgs.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.inputs
import com.pulumi.awsnative.cloudfront.inputs.OriginRequestPolicyQueryStringsConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property queryStringBehavior Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
* - `none` – No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none` , any query strings that are listed in a `CachePolicy` *are* included in origin requests.
* - `whitelist` – Only the query strings in viewer requests that are listed in the `QueryStringNames` type are included in requests that CloudFront sends to the origin.
* - `all` – All query strings in viewer requests are included in requests that CloudFront sends to the origin.
* - `allExcept` – All query strings in viewer requests are included in requests that CloudFront sends to the origin, **except** for those listed in the `QueryStringNames` type, which are not included.
* @property queryStrings Contains a list of query string names.
*/
public data class OriginRequestPolicyQueryStringsConfigArgs(
public val queryStringBehavior: Output,
public val queryStrings: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudfront.inputs.OriginRequestPolicyQueryStringsConfigArgs =
com.pulumi.awsnative.cloudfront.inputs.OriginRequestPolicyQueryStringsConfigArgs.builder()
.queryStringBehavior(queryStringBehavior.applyValue({ args0 -> args0 }))
.queryStrings(queryStrings?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [OriginRequestPolicyQueryStringsConfigArgs].
*/
@PulumiTagMarker
public class OriginRequestPolicyQueryStringsConfigArgsBuilder internal constructor() {
private var queryStringBehavior: Output? = null
private var queryStrings: Output>? = null
/**
* @param value Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
* - `none` – No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none` , any query strings that are listed in a `CachePolicy` *are* included in origin requests.
* - `whitelist` – Only the query strings in viewer requests that are listed in the `QueryStringNames` type are included in requests that CloudFront sends to the origin.
* - `all` – All query strings in viewer requests are included in requests that CloudFront sends to the origin.
* - `allExcept` – All query strings in viewer requests are included in requests that CloudFront sends to the origin, **except** for those listed in the `QueryStringNames` type, which are not included.
*/
@JvmName("rdgrquysqrnevrck")
public suspend fun queryStringBehavior(`value`: Output) {
this.queryStringBehavior = value
}
/**
* @param value Contains a list of query string names.
*/
@JvmName("aedlqumibqkiwqib")
public suspend fun queryStrings(`value`: Output>) {
this.queryStrings = value
}
@JvmName("pjsqbgvknplcotek")
public suspend fun queryStrings(vararg values: Output) {
this.queryStrings = Output.all(values.asList())
}
/**
* @param values Contains a list of query string names.
*/
@JvmName("nmlxtngeyvqfjcln")
public suspend fun queryStrings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy