SageMakerStudioQueryExecutionRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:29 PM UTC

Version

v6

Total Versions

2

Created

Feb 12, 2026

Actions

7

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "GlueGetConnectionOnCatalog",
          "Effect": "Allow",
          "Action": [
            "glue:GetConnection"
          ],
          "Resource": [
            "arn:aws:glue:*:*:catalog"
          ]
        },
        {
          "Sid": "GlueGetConnectionsForProject",
          "Effect": "Allow",
          "Action": [
            "glue:GetConnection",
            "glue:GetConnections",
            "glue:GetTags"
          ],
          "Resource": "arn:aws:glue:*:*:connection/*",
          "Condition": {
            "Null": {
              "aws:ResourceTag/AmazonDataZoneProject": "false"
            }
          }
        },
        {
          "Sid": "S3GetObjectForAthenaSpillBucket",
          "Effect": "Allow",
          "Action": [
            "s3:GetObject"
          ],
          "Resource": [
            "arn:aws:s3:::*/dzd*/*/dev/sys/athena/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:PrincipalTag/SageMakerStudioQueryExecutionRole": "true"
            }
          }
        },
        {
          "Sid": "S3ListBucketOwnershipCheckForAthenaSpillBucket",
          "Effect": "Allow",
          "Action": [
            "s3:ListBucket"
          ],
          "Resource": [
            "arn:aws:s3:::amazon-sagemaker-*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:PrincipalTag/SageMakerStudioQueryExecutionRole": "true"
            }
          }
        },
        {
          "Sid": "InvokeFunctionPermissionsForAthenaCatalogLambda",
          "Effect": "Allow",
          "Action": "lambda:InvokeFunction",
          "Resource": "arn:aws:lambda:*:*:function:*",
          "Condition": {
            "StringEquals": {
              "aws:PrincipalTag/SageMakerStudioQueryExecutionRole": "true",
              "aws:ResourceTag/federated_athena_datacatalog": "true"
            }
          }
        }
      ]
    },
    "VersionId": "v6",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:02:00+00:00"
  }
}

Version History (5 recorded)

Raw history
v6updated

scope changed, no action added or removed

c309d10

SageMakerStudioQueryExecutionRolePolicy - Policy Version v6

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

4af71b3

SageMakerStudioQueryExecutionRolePolicy - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

a610501

SageMakerStudioQueryExecutionRolePolicy - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Sep 4, 2025

a1feb20

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jan 31, 2025

81c625a