
com.pulumi.awsnative.cloudfront.kotlin.outputs.CachePolicyQueryStringsConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudfront.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property queryStringBehavior Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:
* - `none` – No query strings in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to `none` , any query strings that are listed in an `OriginRequestPolicy` *are* included in origin requests.
* - `whitelist` – Only the query strings in viewer requests that are listed in the `QueryStringNames` type are included in the cache key and in requests that CloudFront sends to the origin.
* - `allExcept` – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, **except** those that are listed in the `QueryStringNames` type, which are not included.
* - `all` – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.
* @property queryStrings Contains a list of query string names.
*/
public data class CachePolicyQueryStringsConfig(
public val queryStringBehavior: String,
public val queryStrings: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.CachePolicyQueryStringsConfig): CachePolicyQueryStringsConfig = CachePolicyQueryStringsConfig(
queryStringBehavior = javaType.queryStringBehavior(),
queryStrings = javaType.queryStrings().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy