waf:CreateRuleGroup

Write

waf:CreateRuleGroup is a Write access-level action in the waf service. Grants permission to create a RuleGroup, which is a collection of predefined rules that you can use in a WebACL

Resource types

ARNs that waf:CreateRuleGroup can be scoped to in an IAM policy.

arn:${Partition}:waf::${Account}:rulegroup/${Id}
rulegroup

Condition keys

Keys you can use in the Condition block of a policy that grants waf:CreateRuleGroup.

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWafCreateRuleGroup",
      "Effect": "Allow",
      "Action": "waf:CreateRuleGroup",
      "Resource": "*"
    }
  ]
}

Related actions in waf

View all waf actions →