com.pulumi.aws.wafregional.kotlin.outputs.WebAclRuleAction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.wafregional.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property type Specifies how you want AWS WAF Regional to respond to requests that match the settings in a rule. Valid values for `action` are `ALLOW`, `BLOCK` or `COUNT`. Valid values for `override_action` are `COUNT` and `NONE`.
*/
public data class WebAclRuleAction(
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.wafregional.outputs.WebAclRuleAction): WebAclRuleAction = WebAclRuleAction(
type = javaType.type(),
)
}
}