pub struct CreateWebACLRequest {
pub change_token: String,
pub default_action: WafAction,
pub metric_name: String,
pub name: String,
pub tags: Option<Vec<Tag>>,
}Fields§
§change_token: StringThe value returned by the most recent call to GetChangeToken.
default_action: WafActionThe 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.
metric_name: StringA 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.
name: StringA friendly name or description of the WebACL. You can't change Name after you create the WebACL.
Trait Implementations§
Source§impl Clone for CreateWebACLRequest
impl Clone for CreateWebACLRequest
Source§fn clone(&self) -> CreateWebACLRequest
fn clone(&self) -> CreateWebACLRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateWebACLRequest
impl Debug for CreateWebACLRequest
Source§impl Default for CreateWebACLRequest
impl Default for CreateWebACLRequest
Source§fn default() -> CreateWebACLRequest
fn default() -> CreateWebACLRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateWebACLRequest
impl PartialEq for CreateWebACLRequest
Source§impl Serialize for CreateWebACLRequest
impl Serialize for CreateWebACLRequest
impl StructuralPartialEq for CreateWebACLRequest
Auto Trait Implementations§
impl Freeze for CreateWebACLRequest
impl RefUnwindSafe for CreateWebACLRequest
impl Send for CreateWebACLRequest
impl Sync for CreateWebACLRequest
impl Unpin for CreateWebACLRequest
impl UnwindSafe for CreateWebACLRequest
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
Mutably borrows from an owned value. Read more