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

com.pulumi.aws.wafv2.kotlin.outputs.WebAclRuleOverrideAction.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: 6.57.0.0
Show newest version
@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