Struct aws_sdk_securityhub::types::AwsWafv2WebAclDetails
source · #[non_exhaustive]pub struct AwsWafv2WebAclDetails {
pub name: Option<String>,
pub arn: Option<String>,
pub managedby_firewall_manager: Option<bool>,
pub id: Option<String>,
pub capacity: Option<i64>,
pub captcha_config: Option<AwsWafv2WebAclCaptchaConfigDetails>,
pub default_action: Option<AwsWafv2WebAclActionDetails>,
pub description: Option<String>,
pub rules: Option<Vec<AwsWafv2RulesDetails>>,
pub visibility_config: Option<AwsWafv2VisibilityConfigDetails>,
}
Expand description
Details about an WAFv2 web Access Control List (ACL).
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.name: Option<String>
The name of the web ACL.
arn: Option<String>
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
managedby_firewall_manager: Option<bool>
Indicates whether this web ACL is managed by Firewall Manager.
id: Option<String>
A unique identifier for the web ACL.
capacity: Option<i64>
The web ACL capacity units (WCUs) currently being used by this web ACL.
captcha_config: Option<AwsWafv2WebAclCaptchaConfigDetails>
Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig
settings.
default_action: Option<AwsWafv2WebAclActionDetails>
The action to perform if none of the Rules contained in the web ACL match.
description: Option<String>
A description of the web ACL that helps with identification.
rules: Option<Vec<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.
visibility_config: Option<AwsWafv2VisibilityConfigDetails>
Defines and enables Amazon CloudWatch metrics and web request sample collection.
Implementations§
source§impl AwsWafv2WebAclDetails
impl AwsWafv2WebAclDetails
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
sourcepub fn managedby_firewall_manager(&self) -> Option<bool>
pub fn managedby_firewall_manager(&self) -> Option<bool>
Indicates whether this web ACL is managed by Firewall Manager.
sourcepub fn capacity(&self) -> Option<i64>
pub fn capacity(&self) -> Option<i64>
The web ACL capacity units (WCUs) currently being used by this web ACL.
sourcepub fn captcha_config(&self) -> Option<&AwsWafv2WebAclCaptchaConfigDetails>
pub fn captcha_config(&self) -> Option<&AwsWafv2WebAclCaptchaConfigDetails>
Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig
settings.
sourcepub fn default_action(&self) -> Option<&AwsWafv2WebAclActionDetails>
pub fn default_action(&self) -> Option<&AwsWafv2WebAclActionDetails>
The action to perform if none of the Rules contained in the web ACL match.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the web ACL that helps with identification.
sourcepub fn rules(&self) -> &[AwsWafv2RulesDetails]
pub fn rules(&self) -> &[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.
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()
.
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 AwsWafv2WebAclDetails
impl AwsWafv2WebAclDetails
sourcepub fn builder() -> AwsWafv2WebAclDetailsBuilder
pub fn builder() -> AwsWafv2WebAclDetailsBuilder
Creates a new builder-style object to manufacture AwsWafv2WebAclDetails
.
Trait Implementations§
source§impl Clone for AwsWafv2WebAclDetails
impl Clone for AwsWafv2WebAclDetails
source§fn clone(&self) -> AwsWafv2WebAclDetails
fn clone(&self) -> AwsWafv2WebAclDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsWafv2WebAclDetails
impl Debug for AwsWafv2WebAclDetails
source§impl PartialEq for AwsWafv2WebAclDetails
impl PartialEq for AwsWafv2WebAclDetails
source§fn eq(&self, other: &AwsWafv2WebAclDetails) -> bool
fn eq(&self, other: &AwsWafv2WebAclDetails) -> bool
self
and other
values to be equal, and is used
by ==
.