emr-serverless:GetSessionEndpoint

Read

emr-serverless:GetSessionEndpoint is a Read access-level action in the emr-serverless service. Grants permission to get the endpoint URL and authentication token for connecting to a session

Resource types

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

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

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

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

Related actions in emr-serverless

View all emr-serverless actions →