#[non_exhaustive]pub struct StatefulRuleGroupReference { /* private fields */ }
Expand description
Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group.
Implementations
sourceimpl StatefulRuleGroupReference
impl StatefulRuleGroupReference
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the stateful rule group.
sourcepub fn priority(&self) -> Option<i32>
pub fn priority(&self) -> Option<i32>
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.
sourcepub fn override(&self) -> Option<&StatefulRuleGroupOverride>
pub fn override(&self) -> Option<&StatefulRuleGroupOverride>
The action that allows the policy owner to override the behavior of the rule group within a policy.
sourceimpl StatefulRuleGroupReference
impl StatefulRuleGroupReference
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatefulRuleGroupReference
.
Trait Implementations
sourceimpl Clone for StatefulRuleGroupReference
impl Clone for StatefulRuleGroupReference
sourcefn clone(&self) -> StatefulRuleGroupReference
fn clone(&self) -> StatefulRuleGroupReference
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more