Struct aws_sdk_networkfirewall::types::PolicyVariables
source · #[non_exhaustive]pub struct PolicyVariables {
pub rule_variables: Option<HashMap<String, IpSet>>,
}
Expand description
Contains variables that you can use to override default Suricata settings in your firewall policy.
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.rule_variables: Option<HashMap<String, IpSet>>
The IPv4 or IPv6 addresses in CIDR notation to use for the Suricata HOME_NET
variable. If your firewall uses an inspection VPC, you might want to override the HOME_NET
variable with the CIDRs of your home networks. If you don't override HOME_NET
with your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC.
Implementations§
source§impl PolicyVariables
impl PolicyVariables
sourcepub fn rule_variables(&self) -> Option<&HashMap<String, IpSet>>
pub fn rule_variables(&self) -> Option<&HashMap<String, IpSet>>
The IPv4 or IPv6 addresses in CIDR notation to use for the Suricata HOME_NET
variable. If your firewall uses an inspection VPC, you might want to override the HOME_NET
variable with the CIDRs of your home networks. If you don't override HOME_NET
with your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC.
source§impl PolicyVariables
impl PolicyVariables
sourcepub fn builder() -> PolicyVariablesBuilder
pub fn builder() -> PolicyVariablesBuilder
Creates a new builder-style object to manufacture PolicyVariables
.
Trait Implementations§
source§impl Clone for PolicyVariables
impl Clone for PolicyVariables
source§fn clone(&self) -> PolicyVariables
fn clone(&self) -> PolicyVariables
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PolicyVariables
impl Debug for PolicyVariables
source§impl PartialEq for PolicyVariables
impl PartialEq for PolicyVariables
source§fn eq(&self, other: &PolicyVariables) -> bool
fn eq(&self, other: &PolicyVariables) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PolicyVariables
Auto Trait Implementations§
impl Freeze for PolicyVariables
impl RefUnwindSafe for PolicyVariables
impl Send for PolicyVariables
impl Sync for PolicyVariables
impl Unpin for PolicyVariables
impl UnwindSafe for PolicyVariables
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