shield:ListResourcesInProtectionGroup

List

shield:ListResourcesInProtectionGroup is a List access-level action in the shield service. Grants permission to retrieve the resources that are included in the protection group

Resource types

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

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:ListResourcesInProtectionGroup.

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:ListResourcesInProtectionGroup. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in shield

View all shield actions →