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

com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclRuleActionOverride.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: 1.11.0.0
Show newest version
@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(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy