![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroup.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.networkfirewall.kotlin.outputs
import kotlin.Suppress
/**
*
* @property referenceSets The reference sets for the stateful rule group.
* @property ruleVariables Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.
* @property rulesSource The stateful rules or stateless rules for the rule group.
* @property statefulRuleOptions Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings. Some limitations apply; for more information, see [Strict evaluation order](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-limitations-caveats.html) in the *AWS Network Firewall Developer Guide* .
*/
public data class RuleGroup(
public val referenceSets: RuleGroupReferenceSets? = null,
public val ruleVariables: RuleGroupRuleVariables? = null,
public val rulesSource: RuleGroupRulesSource,
public val statefulRuleOptions: RuleGroupStatefulRuleOptions? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.RuleGroup): RuleGroup = RuleGroup(
referenceSets = javaType.referenceSets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupReferenceSets.Companion.toKotlin(args0)
})
}).orElse(null),
ruleVariables = javaType.ruleVariables().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupRuleVariables.Companion.toKotlin(args0)
})
}).orElse(null),
rulesSource = javaType.rulesSource().let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupRulesSource.Companion.toKotlin(args0)
}),
statefulRuleOptions = javaType.statefulRuleOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupStatefulRuleOptions.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy