Create Regex Pattern Set
wafv2_create_regex_pattern_set | R Documentation |
Creates a RegexPatternSet, which you reference in a RegexPatternSetReferenceStatement, to have WAF inspect a web request component for the specified patterns¶
Description¶
Creates a RegexPatternSet, which you reference in a RegexPatternSetReferenceStatement, to have WAF inspect a web request component for the specified patterns.
Usage¶
wafv2_create_regex_pattern_set(Name, Scope, Description,
RegularExpressionList, Tags)
Arguments¶
Name |
[required] The name of the set. You cannot change the name after you create the set. |
Scope |
[required] Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
|
Description |
A description of the set that helps with identification. |
RegularExpressionList |
[required] Array of regular expression strings. |
Tags |
An array of key:value pairs to associate with the resource. |
Value¶
A list with the following syntax:
list(
Summary = list(
Name = "string",
Id = "string",
Description = "string",
LockToken = "string",
ARN = "string"
)
)
Request syntax¶
svc$create_regex_pattern_set(
Name = "string",
Scope = "CLOUDFRONT"|"REGIONAL",
Description = "string",
RegularExpressionList = list(
list(
RegexString = "string"
)
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)