Struct aws_sdk_waf::operation::create_web_acl::CreateWebAclInput
source · #[non_exhaustive]pub struct CreateWebAclInput {
pub name: Option<String>,
pub metric_name: Option<String>,
pub default_action: Option<WafAction>,
pub change_token: Option<String>,
pub tags: Option<Vec<Tag>>,
}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 WebACL. You can't change Name after you create the WebACL.
metric_name: Option<String>A friendly name or description for the metrics for this WebACL.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.
default_action: Option<WafAction>The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.
change_token: Option<String>The value returned by the most recent call to GetChangeToken.
Implementations§
source§impl CreateWebAclInput
impl CreateWebAclInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A friendly name or description of the WebACL. You can't change Name after you create the WebACL.
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
A friendly name or description for the metrics for this WebACL.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.
sourcepub fn default_action(&self) -> Option<&WafAction>
pub fn default_action(&self) -> Option<&WafAction>
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.
sourcepub fn change_token(&self) -> Option<&str>
pub fn change_token(&self) -> Option<&str>
The value returned by the most recent call to GetChangeToken.
source§impl CreateWebAclInput
impl CreateWebAclInput
sourcepub fn builder() -> CreateWebAclInputBuilder
pub fn builder() -> CreateWebAclInputBuilder
Creates a new builder-style object to manufacture CreateWebAclInput.
Trait Implementations§
source§impl Clone for CreateWebAclInput
impl Clone for CreateWebAclInput
source§fn clone(&self) -> CreateWebAclInput
fn clone(&self) -> CreateWebAclInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateWebAclInput
impl Debug for CreateWebAclInput
source§impl PartialEq<CreateWebAclInput> for CreateWebAclInput
impl PartialEq<CreateWebAclInput> for CreateWebAclInput
source§fn eq(&self, other: &CreateWebAclInput) -> bool
fn eq(&self, other: &CreateWebAclInput) -> bool
self and other values to be equal, and is used
by ==.