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

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

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property expression Use a value dynamically determined by the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. Conflicts with `"value"`.
 * @property name Name of the HTTP request header to target.
 * @property operation Action to perform on the HTTP request header. Available values: `remove`, `set`, `add`
 * @property value Static value to provide as the HTTP request header value. Conflicts with `"expression"`.
 */
public data class GetRulesetsRulesetRuleActionParametersHeader(
    public val expression: String? = null,
    public val name: String? = null,
    public val operation: String? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetRulesetsRulesetRuleActionParametersHeader): GetRulesetsRulesetRuleActionParametersHeader = GetRulesetsRulesetRuleActionParametersHeader(
            expression = javaType.expression().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            operation = javaType.operation().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy