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

com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupCustomHttpHeader.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: 0.122.0.0
Show newest version
@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 - 2024 Weber Informatics LLC | Privacy Policy