Struct aws_sdk_securityhub::types::AwsWafWebAclDetails
source · #[non_exhaustive]pub struct AwsWafWebAclDetails {
pub name: Option<String>,
pub default_action: Option<String>,
pub rules: Option<Vec<AwsWafWebAclRule>>,
pub web_acl_id: Option<String>,
}Expand description
Provides information about an WAF web access control list (web 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>A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.
default_action: Option<String>The action to perform if none of the rules contained in the web ACL match.
rules: Option<Vec<AwsWafWebAclRule>>An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
web_acl_id: Option<String>A unique identifier for a web ACL.
Implementations§
source§impl AwsWafWebAclDetails
impl AwsWafWebAclDetails
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.
sourcepub fn default_action(&self) -> Option<&str>
pub fn default_action(&self) -> Option<&str>
The action to perform if none of the rules contained in the web ACL match.
sourcepub fn rules(&self) -> &[AwsWafWebAclRule]
pub fn rules(&self) -> &[AwsWafWebAclRule]
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
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 web_acl_id(&self) -> Option<&str>
pub fn web_acl_id(&self) -> Option<&str>
A unique identifier for a web ACL.
source§impl AwsWafWebAclDetails
impl AwsWafWebAclDetails
sourcepub fn builder() -> AwsWafWebAclDetailsBuilder
pub fn builder() -> AwsWafWebAclDetailsBuilder
Creates a new builder-style object to manufacture AwsWafWebAclDetails.
Trait Implementations§
source§impl Clone for AwsWafWebAclDetails
impl Clone for AwsWafWebAclDetails
source§fn clone(&self) -> AwsWafWebAclDetails
fn clone(&self) -> AwsWafWebAclDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsWafWebAclDetails
impl Debug for AwsWafWebAclDetails
source§impl PartialEq for AwsWafWebAclDetails
impl PartialEq for AwsWafWebAclDetails
impl StructuralPartialEq for AwsWafWebAclDetails
Auto Trait Implementations§
impl Freeze for AwsWafWebAclDetails
impl RefUnwindSafe for AwsWafWebAclDetails
impl Send for AwsWafWebAclDetails
impl Sync for AwsWafWebAclDetails
impl Unpin for AwsWafWebAclDetails
impl UnwindSafe for AwsWafWebAclDetails
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