com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclRuleActionOverride.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
/**
* Action override for rules in the rule group.
* @property actionToUse The override action to use, in place of the configured action of the rule in the rule group.
* @property name The name of the rule to override.
*/
public data class WebAclRuleActionOverride(
public val actionToUse: WebAclRuleAction,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.WebAclRuleActionOverride): WebAclRuleActionOverride = WebAclRuleActionOverride(
actionToUse = javaType.actionToUse().let({ args0 ->
com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclRuleAction.Companion.toKotlin(args0)
}),
name = javaType.name(),
)
}
}