emr-serverless:ListSessions

List

emr-serverless:ListSessions is a List access-level action in the emr-serverless service. Grants permission to list sessions associated with an application

Resource types

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

arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}
application

Condition keys

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

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

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

Related actions in emr-serverless

View all emr-serverless actions →