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

com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsCacheKeyFieldsHeader.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: 5.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 PageRuleActionsCacheKeyFieldsHeader(
    public val checkPresences: List? = null,
    public val excludes: List? = null,
    public val includes: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.PageRuleActionsCacheKeyFieldsHeader): PageRuleActionsCacheKeyFieldsHeader = PageRuleActionsCacheKeyFieldsHeader(
            checkPresences = javaType.checkPresences().map({ args0 -> args0 }),
            excludes = javaType.excludes().map({ args0 -> args0 }),
            includes = javaType.includes().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy