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
impl StructuralPartialEq for AwsWafv2WebAclDetails
Auto Trait Implementations§
impl Freeze for AwsWafv2WebAclDetails
impl RefUnwindSafe for AwsWafv2WebAclDetails
impl Send for AwsWafv2WebAclDetails
impl Sync for AwsWafv2WebAclDetails
impl Unpin for AwsWafv2WebAclDetails
impl UnwindSafe for AwsWafv2WebAclDetails
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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