com.pulumi.aws.wafv2.kotlin.inputs.WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.wafv2.kotlin.inputs
import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property insertHeaders The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*/
public data class
WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgs(
public val insertHeaders: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.wafv2.inputs.WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgs =
com.pulumi.aws.wafv2.inputs.WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgs.builder()
.insertHeaders(
insertHeaders.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgs].
*/
@PulumiTagMarker
public class
WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgsBuilder
internal constructor() {
private var insertHeaders:
Output>? =
null
/**
* @param value The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*/
@JvmName("loxikqxcykexjbso")
public suspend fun insertHeaders(`value`: Output>) {
this.insertHeaders = value
}
@JvmName("qiuklvkoyyrxphlj")
public suspend fun insertHeaders(vararg values: Output) {
this.insertHeaders = Output.all(values.asList())
}
/**
* @param values The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*/
@JvmName("jibdwemdgdvdaqdg")
public suspend fun insertHeaders(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy