com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupCustomHttpHeader.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.wafv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* HTTP header.
* @property name The name of the custom header.
* For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name `x-amzn-waf-` , to avoid confusion with the headers that are already in the request. For example, for the header name `sample` , AWS WAF inserts the header `x-amzn-waf-sample` .
* @property value The value of the custom header.
*/
public data class RuleGroupCustomHttpHeader(
public val name: String,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.RuleGroupCustomHttpHeader): RuleGroupCustomHttpHeader = RuleGroupCustomHttpHeader(
name = javaType.name(),
`value` = javaType.`value`(),
)
}
}