AWS::WAFv2::RegexPatternSetContains a list of Regular expressions based on the provided inputs. RegexPatternSet can be used with other WAF entities with RegexPatternSetReferenceStatement to perform other actions .
5 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
RegularExpressionList | Array<string> | Required |
Scope | string | RequiredCreate-only |
Description | string | |
Name | string | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | ARN of the WAF entity. |
Id | string | Id of the RegexPatternSet |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::WAFv2::RegexPatternSet
Resources:
MyResource:
Type: AWS::WAFv2::RegexPatternSet
Properties:
Scope: "CLOUDFRONT"
RegularExpressionList: []
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
wafv2:CreateRegexPatternSetwafv2:GetRegexPatternSetwafv2:TagResourcewafv2:UntagResourcewafv2:ListTagsForResourcewafv2:DeleteRegexPatternSetwafv2:GetRegexPatternSetwafv2:GetRegexPatternSetwafv2:ListTagsForResourcewafv2:UpdateRegexPatternSetwafv2:GetRegexPatternSetwafv2:ListTagsForResourcewafv2:TagResourcewafv2:UntagResourcewafv2:listRegexPatternSetsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameScope