wafv2:PutPermissionPolicy

Permissions management

wafv2:PutPermissionPolicy is a Permissions management access-level action in the wafv2 service. Grants permission to attach an IAM policy to a resource, used to share rule groups between accounts

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in wafv2

View all wafv2 actions →