#[non_exhaustive]pub struct StatefulRuleGroupReference {
pub resource_arn: String,
pub priority: Option<i32>,
pub override: Option<StatefulRuleGroupOverride>,
}
Expand description
Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resource_arn: String
The Amazon Resource Name (ARN) of the stateful rule group.
priority: 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.
override: Option<StatefulRuleGroupOverride>
The action that allows the policy owner to override the behavior of the rule group within a policy.
Implementations§
source§impl StatefulRuleGroupReference
impl StatefulRuleGroupReference
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &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.
source§impl StatefulRuleGroupReference
impl StatefulRuleGroupReference
sourcepub fn builder() -> StatefulRuleGroupReferenceBuilder
pub fn builder() -> StatefulRuleGroupReferenceBuilder
Creates a new builder-style object to manufacture StatefulRuleGroupReference
.
Trait Implementations§
source§impl Clone for StatefulRuleGroupReference
impl Clone for StatefulRuleGroupReference
source§fn clone(&self) -> StatefulRuleGroupReference
fn clone(&self) -> StatefulRuleGroupReference
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StatefulRuleGroupReference
impl Debug for StatefulRuleGroupReference
source§impl PartialEq for StatefulRuleGroupReference
impl PartialEq for StatefulRuleGroupReference
source§fn eq(&self, other: &StatefulRuleGroupReference) -> bool
fn eq(&self, other: &StatefulRuleGroupReference) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatefulRuleGroupReference
Auto Trait Implementations§
impl Freeze for StatefulRuleGroupReference
impl RefUnwindSafe for StatefulRuleGroupReference
impl Send for StatefulRuleGroupReference
impl Sync for StatefulRuleGroupReference
impl Unpin for StatefulRuleGroupReference
impl UnwindSafe for StatefulRuleGroupReference
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more