Struct aws_sdk_securityhub::types::AwsWafRuleGroupDetails
source · #[non_exhaustive]pub struct AwsWafRuleGroupDetails {
pub metric_name: Option<String>,
pub name: Option<String>,
pub rule_group_id: Option<String>,
pub rules: Option<Vec<AwsWafRuleGroupRulesDetails>>,
}
Expand description
Provides information about an WAF rule group. A rule group is a collection of rules for inspecting and controlling web requests.
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.metric_name: Option<String>
The name of the metrics for this rule group.
name: Option<String>
The name of the rule group.
rule_group_id: Option<String>
The ID of the rule group.
rules: Option<Vec<AwsWafRuleGroupRulesDetails>>
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
Implementations§
source§impl AwsWafRuleGroupDetails
impl AwsWafRuleGroupDetails
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the metrics for this rule group.
sourcepub fn rule_group_id(&self) -> Option<&str>
pub fn rule_group_id(&self) -> Option<&str>
The ID of the rule group.
sourcepub fn rules(&self) -> &[AwsWafRuleGroupRulesDetails]
pub fn rules(&self) -> &[AwsWafRuleGroupRulesDetails]
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none()
.
source§impl AwsWafRuleGroupDetails
impl AwsWafRuleGroupDetails
sourcepub fn builder() -> AwsWafRuleGroupDetailsBuilder
pub fn builder() -> AwsWafRuleGroupDetailsBuilder
Creates a new builder-style object to manufacture AwsWafRuleGroupDetails
.
Trait Implementations§
source§impl Clone for AwsWafRuleGroupDetails
impl Clone for AwsWafRuleGroupDetails
source§fn clone(&self) -> AwsWafRuleGroupDetails
fn clone(&self) -> AwsWafRuleGroupDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsWafRuleGroupDetails
impl Debug for AwsWafRuleGroupDetails
source§impl PartialEq for AwsWafRuleGroupDetails
impl PartialEq for AwsWafRuleGroupDetails
source§fn eq(&self, other: &AwsWafRuleGroupDetails) -> bool
fn eq(&self, other: &AwsWafRuleGroupDetails) -> bool
self
and other
values to be equal, and is used
by ==
.