emr-serverless:ListTagsForResource

Read

emr-serverless:ListTagsForResource is a Read access-level action in the emr-serverless service. Grants permission to list tags for the specified resource

Resource types

ARNs that emr-serverless:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}
application
arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}/jobruns/${JobRunId}
jobRun
arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}/sessions/${SessionId}
session

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in emr-serverless

View all emr-serverless actions →