wafv2:CreateRegexPatternSet

Write

wafv2:CreateRegexPatternSet is a Write access-level action in the wafv2 service. Grants permission to create a RegexPatternSet

Resource types

ARNs that wafv2:CreateRegexPatternSet can be scoped to in an IAM policy.

arn:${Partition}:wafv2:${Region}:${Account}:${Scope}/regexpatternset/${Name}/${Id}
regexpatternset

Condition keys

Keys you can use in the Condition block of a policy that grants wafv2:CreateRegexPatternSet.

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Dependent actions

To use wafv2:CreateRegexPatternSet you may also need to grant:

Example IAM policy

A minimal policy that allows wafv2:CreateRegexPatternSet. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWafv2CreateRegexPatternSet",
      "Effect": "Allow",
      "Action": "wafv2:CreateRegexPatternSet",
      "Resource": "*"
    }
  ]
}

Related actions in wafv2

View all wafv2 actions →