![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.inputs.PageRuleActionsCacheKeyFieldsHeaderArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsHeaderArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property checkPresences Check for presence of specified HTTP headers, without including their actual values.
* @property excludes Exclude these HTTP headers from Cache Key. Currently, only the `Origin` header can be excluded.
* @property includes Use values of specified HTTP headers in Cache Key. Please refer to [Support article](https://support.cloudflare.com/hc/en-us/articles/115004290387-Creating-Cache-Keys) for the list of HTTP headers that cannot be included. The `Origin` header is always included unless explicitly excluded.
*/
public data class PageRuleActionsCacheKeyFieldsHeaderArgs(
public val checkPresences: Output>? = null,
public val excludes: Output>? = null,
public val includes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsHeaderArgs =
com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsHeaderArgs.builder()
.checkPresences(checkPresences?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.excludes(excludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includes(includes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PageRuleActionsCacheKeyFieldsHeaderArgs].
*/
@PulumiTagMarker
public class PageRuleActionsCacheKeyFieldsHeaderArgsBuilder internal constructor() {
private var checkPresences: Output>? = null
private var excludes: Output>? = null
private var includes: Output>? = null
/**
* @param value Check for presence of specified HTTP headers, without including their actual values.
*/
@JvmName("xbatnobwhsnmkyrc")
public suspend fun checkPresences(`value`: Output>) {
this.checkPresences = value
}
@JvmName("rronldhrxrbvofbs")
public suspend fun checkPresences(vararg values: Output) {
this.checkPresences = Output.all(values.asList())
}
/**
* @param values Check for presence of specified HTTP headers, without including their actual values.
*/
@JvmName("fgbgcxuvtrckickc")
public suspend fun checkPresences(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy