Struct aws_sdk_networkfirewall::model::RulesSourceList
source · [−]#[non_exhaustive]pub struct RulesSourceList { /* private fields */ }
Expand description
Stateful inspection criteria for a domain list rule group.
For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.
By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET
rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleVariables
in this guide and Stateful domain list rule groups in Network Firewall in the Network Firewall Developer Guide.
Implementations
sourceimpl RulesSourceList
impl RulesSourceList
sourcepub fn targets(&self) -> Option<&[String]>
pub fn targets(&self) -> Option<&[String]>
The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:
-
Explicit names. For example,
abc.example.com
matches only the domainabc.example.com
. -
Names that use a domain wildcard, which you indicate with an initial '
.
'. For example,.example.com
matchesexample.com
and matches all subdomains ofexample.com
, such asabc.example.com
andwww.example.com
.
sourcepub fn target_types(&self) -> Option<&[TargetType]>
pub fn target_types(&self) -> Option<&[TargetType]>
The protocols you want to inspect. Specify TLS_SNI
for HTTPS
. Specify HTTP_HOST
for HTTP
. You can specify either or both.
sourcepub fn generated_rules_type(&self) -> Option<&GeneratedRulesType>
pub fn generated_rules_type(&self) -> Option<&GeneratedRulesType>
Whether you want to allow or deny access to the domains in your target list.
sourceimpl RulesSourceList
impl RulesSourceList
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RulesSourceList
.
Trait Implementations
sourceimpl Clone for RulesSourceList
impl Clone for RulesSourceList
sourcefn clone(&self) -> RulesSourceList
fn clone(&self) -> RulesSourceList
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more