
com.pulumi.awsnative.networkfirewall.kotlin.outputs.FirewallPolicyStatefulRuleGroupReference.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.networkfirewall.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property override The action that allows the policy owner to override the behavior of the rule group within a policy.
* @property priority An integer setting that indicates the order in which to run the stateful rule groups in a single `FirewallPolicy` . This setting only applies to firewall policies that specify the `STRICT_ORDER` rule order in the stateful engine options settings.
* Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.
* You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.
* @property resourceArn The Amazon Resource Name (ARN) of the stateful rule group.
*/
public data class FirewallPolicyStatefulRuleGroupReference(
public val `override`: FirewallPolicyStatefulRuleGroupOverride? = null,
public val priority: Int? = null,
public val resourceArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.FirewallPolicyStatefulRuleGroupReference): FirewallPolicyStatefulRuleGroupReference = FirewallPolicyStatefulRuleGroupReference(
`override` = javaType.`override`().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.FirewallPolicyStatefulRuleGroupOverride.Companion.toKotlin(args0)
})
}).orElse(null),
priority = javaType.priority().map({ args0 -> args0 }).orElse(null),
resourceArn = javaType.resourceArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy