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

com.pulumi.aws.networkfirewall.kotlin.inputs.FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.networkfirewall.kotlin.inputs

import com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property action The action that changes the rule group from DROP to ALERT . This only applies to managed rule groups.
 */
public data class FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs(
    public val action: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs =
        com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs.builder()
            .action(action?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs].
 */
@PulumiTagMarker
public class FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgsBuilder internal constructor() {
    private var action: Output? = null

    /**
     * @param value The action that changes the rule group from DROP to ALERT . This only applies to managed rule groups.
     */
    @JvmName("gppdjmkcebxuvuhx")
    public suspend fun action(`value`: Output) {
        this.action = value
    }

    /**
     * @param value The action that changes the rule group from DROP to ALERT . This only applies to managed rule groups.
     */
    @JvmName("bvqqwvfhuiwsoujo")
    public suspend fun action(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.action = mapped
    }

    internal fun build(): FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs =
        FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceOverrideArgs(
            action = action,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy