shield:ListTagsForResource

Read

shield:ListTagsForResource is a Read access-level action in the shield service. Grants permission to get information about AWS tags for a specified Amazon Resource Name (ARN) in AWS Shield

Resource types

ARNs that shield:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:shield::${Account}:protection/${Id}
protection
arn:${Partition}:shield::${Account}:protection-group/${Id}
protection-group

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in shield

View all shield actions →