#[non_exhaustive]pub struct AwsWafv2RuleGroupDetails { /* private fields */ }
Expand description
Details about an WAFv2 rule group.
Implementations§
source§impl AwsWafv2RuleGroupDetails
impl AwsWafv2RuleGroupDetails
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the rule group that helps with identification.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the rule group. You cannot change the name of a rule group after you create it.
sourcepub fn rules(&self) -> Option<&[AwsWafv2RulesDetails]>
pub fn rules(&self) -> Option<&[AwsWafv2RulesDetails]>
The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.
sourcepub fn scope(&self) -> Option<&str>
pub fn scope(&self) -> Option<&str>
Specifies whether the rule group is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool.
sourcepub fn visibility_config(&self) -> Option<&AwsWafv2VisibilityConfigDetails>
pub fn visibility_config(&self) -> Option<&AwsWafv2VisibilityConfigDetails>
Defines and enables Amazon CloudWatch metrics and web request sample collection.
source§impl AwsWafv2RuleGroupDetails
impl AwsWafv2RuleGroupDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsWafv2RuleGroupDetails
.
Trait Implementations§
source§impl Clone for AwsWafv2RuleGroupDetails
impl Clone for AwsWafv2RuleGroupDetails
source§fn clone(&self) -> AwsWafv2RuleGroupDetails
fn clone(&self) -> AwsWafv2RuleGroupDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsWafv2RuleGroupDetails
impl Debug for AwsWafv2RuleGroupDetails
source§impl PartialEq<AwsWafv2RuleGroupDetails> for AwsWafv2RuleGroupDetails
impl PartialEq<AwsWafv2RuleGroupDetails> for AwsWafv2RuleGroupDetails
source§fn eq(&self, other: &AwsWafv2RuleGroupDetails) -> bool
fn eq(&self, other: &AwsWafv2RuleGroupDetails) -> bool
self
and other
values to be equal, and is used
by ==
.