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
source§fn eq(&self, other: &AwsWafWebAclDetails) -> bool
fn eq(&self, other: &AwsWafWebAclDetails) -> bool
self
and other
values to be equal, and is used
by ==
.