Struct aws_sdk_wafv2::model::RegexPatternSet [−][src]
#[non_exhaustive]pub struct RegexPatternSet {
pub name: Option<String>,
pub id: Option<String>,
pub arn: Option<String>,
pub description: Option<String>,
pub regular_expression_list: Option<Vec<Regex>>,
}
Expand description
Contains one or more regular expressions.
WAF assigns an ARN to each RegexPatternSet
that you create. To use a
set in a rule, you provide the ARN to the Rule statement RegexPatternSetReferenceStatement.
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 set. You cannot change the name after you create the set.
id: Option<String>
A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
arn: Option<String>
The Amazon Resource Name (ARN) of the entity.
description: Option<String>
A description of the set that helps with identification.
regular_expression_list: Option<Vec<Regex>>
The regular expression patterns in the set.
Implementations
The name of the set. You cannot change the name after you create the set.
A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
A description of the set that helps with identification.
Creates a new builder-style object to manufacture RegexPatternSet
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RegexPatternSet
impl Send for RegexPatternSet
impl Sync for RegexPatternSet
impl Unpin for RegexPatternSet
impl UnwindSafe for RegexPatternSet
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more