waf-regional:ListTagsForResource

Read

waf-regional:ListTagsForResource is a Read access-level action in the waf-regional service. Grants permission to lists the Tags for a resource

Resource types

ARNs that waf-regional:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:waf-regional:${Region}:${Account}:ratebasedrule/${Id}
ratebasedrule
arn:${Partition}:waf-regional:${Region}:${Account}:rule/${Id}
rule
arn:${Partition}:waf-regional:${Region}:${Account}:rulegroup/${Id}
rulegroup
arn:${Partition}:waf-regional:${Region}:${Account}:webacl/${Id}
webacl

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

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

Related actions in waf-regional

View all waf-regional actions →