cognito-identity:ListTagsForResource

Read

cognito-identity:ListTagsForResource is a Read access-level action in the cognito-identity service. Grants permission to list the tags that are assigned to an Amazon Cognito identity pool

Resource types

ARNs that cognito-identity:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:cognito-identity:${Region}:${Account}:identitypool/${IdentityPoolId}
identitypool

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in cognito-identity

View all cognito-identity actions →