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

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

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

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

import com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property keyword Keyword defined by open source detection systems like Snort or Suricata for stateful rule inspection.
 * See [Snort General Rule Options](http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node31.html) or [Suricata Rule Options](https://suricata.readthedocs.io/en/suricata-5.0.1/rules/intro.html#rule-options) for more details.
 * @property settings Set of strings for additional settings to use in stateful rule inspection.
 */
public data class RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs(
    public val keyword: Output,
    public val settings: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs =
        com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs.builder()
            .keyword(keyword.applyValue({ args0 -> args0 }))
            .settings(settings?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs].
 */
@PulumiTagMarker
public class RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgsBuilder internal constructor() {
    private var keyword: Output? = null

    private var settings: Output>? = null

    /**
     * @param value Keyword defined by open source detection systems like Snort or Suricata for stateful rule inspection.
     * See [Snort General Rule Options](http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node31.html) or [Suricata Rule Options](https://suricata.readthedocs.io/en/suricata-5.0.1/rules/intro.html#rule-options) for more details.
     */
    @JvmName("hsljyiwqijismcsw")
    public suspend fun keyword(`value`: Output) {
        this.keyword = value
    }

    /**
     * @param value Set of strings for additional settings to use in stateful rule inspection.
     */
    @JvmName("kwneucvkflqrgjmo")
    public suspend fun settings(`value`: Output>) {
        this.settings = value
    }

    @JvmName("ksslcxbtkycecpet")
    public suspend fun settings(vararg values: Output) {
        this.settings = Output.all(values.asList())
    }

    /**
     * @param values Set of strings for additional settings to use in stateful rule inspection.
     */
    @JvmName("hkaxugvgofpqsjuu")
    public suspend fun settings(values: List>) {
        this.settings = Output.all(values)
    }

    /**
     * @param value Keyword defined by open source detection systems like Snort or Suricata for stateful rule inspection.
     * See [Snort General Rule Options](http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node31.html) or [Suricata Rule Options](https://suricata.readthedocs.io/en/suricata-5.0.1/rules/intro.html#rule-options) for more details.
     */
    @JvmName("gwssnexlsxcpjxly")
    public suspend fun keyword(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keyword = mapped
    }

    /**
     * @param value Set of strings for additional settings to use in stateful rule inspection.
     */
    @JvmName("rxkhggldjjyqbnai")
    public suspend fun settings(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.settings = mapped
    }

    /**
     * @param values Set of strings for additional settings to use in stateful rule inspection.
     */
    @JvmName("fltmmyckhijgmcme")
    public suspend fun settings(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.settings = mapped
    }

    internal fun build(): RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs =
        RuleGroupRuleGroupRulesSourceStatefulRuleRuleOptionArgs(
            keyword = keyword ?: throw PulumiNullFieldException("keyword"),
            settings = settings,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy