![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.wafv2.kotlin.inputs.WebAclExcludedRuleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.wafv2.kotlin.inputs
import com.pulumi.awsnative.wafv2.inputs.WebAclExcludedRuleArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Excluded Rule in the RuleGroup or ManagedRuleGroup will not be evaluated.
* @property name The name of the rule whose action you want to override to `Count` .
*/
public data class WebAclExcludedRuleArgs(
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wafv2.inputs.WebAclExcludedRuleArgs =
com.pulumi.awsnative.wafv2.inputs.WebAclExcludedRuleArgs.builder()
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WebAclExcludedRuleArgs].
*/
@PulumiTagMarker
public class WebAclExcludedRuleArgsBuilder internal constructor() {
private var name: Output? = null
/**
* @param value The name of the rule whose action you want to override to `Count` .
*/
@JvmName("kfjwyceojfkkwanv")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The name of the rule whose action you want to override to `Count` .
*/
@JvmName("ipjpekjmcqmbtqgo")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): WebAclExcludedRuleArgs = WebAclExcludedRuleArgs(
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy