com.pulumi.aws.wafv2.kotlin.outputs.WebAclRuleOverrideAction.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.outputs
import kotlin.Suppress
/**
*
* @property count Override the rule action setting to count (i.e., only count matches). Configured as an empty block `{}`.
* @property none Don't override the rule action setting. Configured as an empty block `{}`.
*/
public data class WebAclRuleOverrideAction(
public val count: WebAclRuleOverrideActionCount? = null,
public val none: WebAclRuleOverrideActionNone? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.wafv2.outputs.WebAclRuleOverrideAction): WebAclRuleOverrideAction = WebAclRuleOverrideAction(
count = javaType.count().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.WebAclRuleOverrideActionCount.Companion.toKotlin(args0)
})
}).orElse(null),
none = javaType.none().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.WebAclRuleOverrideActionNone.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy