![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupCustomHttpHeader.kt Maven / Gradle / Ivy
@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`(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy