Skip to main content
IAM Policy Map

AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy

OperatorService roleActivePermissions reviewedShow on mapCompare

Summary

Service role policy used by the AWS Glue within the AWS ServiceCatalog provisioned products from Amazon SageMaker portfolio of products. Grants permissions to a set of related services including Glue, S3 and others.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy
Default version
v2
Created
Last edited
Services
glue, logs, s3

Control-plane actions (59)

By access level: 22 List, 1 Permissions management, 15 Read, 21 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Glue22 of 30610 Read, 12 Write; 22 restricted, 0 conditionalglue:BatchCreatePartition, glue:BatchDeletePartition, glue:BatchDeleteTable, glue:BatchDeleteTableVersion, glue:BatchGetPartition, glue:CreateDatabase, glue:CreatePartition, glue:CreateTable, glue:DeletePartition, glue:DeleteTable, glue:DeleteTableVersion, glue:GetDatabase and 10 more
CloudWatch Logs29 of 13320 List, 1 Permissions management, 2 Read, 6 Write; 29 restricted, 0 conditionallogs:CreateLogDelivery, logs:CreateLogGroup, logs:CreateLogStream, logs:DeleteLogDelivery, logs:Describe*, logs:GetLogDelivery, logs:GetLogEvents, logs:ListLogDeliveries, logs:PutLogEvents, logs:PutResourcePolicy, logs:UpdateLogDelivery
S38 of 1552 List, 3 Read, 3 Write; 8 restricted, 0 conditionals3:CreateBucket, s3:DeleteBucket, s3:GetBucketAcl, s3:GetBucketCors, s3:GetBucketLocation, s3:ListAllMyBuckets, s3:ListBucketMultipartUploads, s3:PutBucketCors
Glue: 22 actions
  • glue:BatchCreatePartition (Write)
  • glue:BatchDeletePartition (Write)
  • glue:BatchDeleteTable (Write)
  • glue:BatchDeleteTableVersion (Write)
  • glue:BatchGetPartition (Read)
  • glue:CreateDatabase (Write)
  • glue:CreatePartition (Write)
  • glue:CreateTable (Write)
  • glue:DeletePartition (Write)
  • glue:DeleteTable (Write)
  • glue:DeleteTableVersion (Write)
  • glue:GetDatabase (Read)
  • glue:GetPartition (Read)
  • glue:GetPartitions (Read)
  • glue:GetTable (Read)
  • glue:GetTableVersion (Read)
  • glue:GetTableVersions (Read)
  • glue:GetTables (Read)
  • glue:GetUserDefinedFunctions (Read)
  • glue:SearchTables (Read)
  • glue:UpdatePartition (Write)
  • glue:UpdateTable (Write)
CloudWatch Logs: 29 actions
  • logs:CreateLogDelivery (Write)
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:DeleteLogDelivery (Write)
  • logs:DescribeAccountPolicies (List)
  • logs:DescribeConfigurationTemplates (List)
  • logs:DescribeDeliveries (List)
  • logs:DescribeDeliveryDestinations (List)
  • logs:DescribeDeliverySources (List)
  • logs:DescribeDestinations (List)
  • logs:DescribeExportTasks (List)
  • logs:DescribeFieldIndexes (List)
  • logs:DescribeImportTaskBatches (List)
  • logs:DescribeImportTasks (List)
  • logs:DescribeIndexPolicies (List)
  • logs:DescribeLogGroups (List)
  • logs:DescribeLogStreams (List)
  • logs:DescribeLookupTables (List)
  • logs:DescribeMetricFilters (List)
  • logs:DescribeQueries (List)
  • logs:DescribeQueryDefinitions (List)
  • logs:DescribeResourcePolicies (List)
  • logs:DescribeSubscriptionFilters (List)
  • logs:GetLogDelivery (Read)
  • logs:GetLogEvents (Read)
  • logs:ListLogDeliveries (List)
  • logs:PutLogEvents (Write)
  • logs:PutResourcePolicy (Permissions management)
  • logs:UpdateLogDelivery (Write)
S3: 8 actions
  • s3:CreateBucket (Write)
  • s3:DeleteBucket (Write)
  • s3:GetBucketAcl (Read)
  • s3:GetBucketCORS (Read)
  • s3:GetBucketLocation (Read)
  • s3:ListAllMyBuckets (List)
  • s3:ListBucketMultipartUploads (List)
  • s3:PutBucketCORS (Write)

Data-plane actions (6)

By access level: 1 List, 2 Read, 3 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S36 of 251 List, 2 Read, 3 Write; 6 restricted, 0 conditionals3:AbortMultipartUpload, s3:DeleteObject, s3:GetObject, s3:GetObjectVersion, s3:ListBucket, s3:PutObject
S3: 6 actions
  • s3:AbortMultipartUpload (Write)
  • s3:DeleteObject (Write)
  • s3:GetObject (Read)
  • s3:GetObjectVersion (Read)
  • s3:ListBucket (List)
  • s3:PutObject (Write)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: scoped.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 25 write, tagging or permissions-management actions, short of full control of any service.
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "glue:BatchCreatePartition",
        "glue:BatchDeletePartition",
        "glue:BatchDeleteTable",
        "glue:BatchDeleteTableVersion",
        "glue:BatchGetPartition",
        "glue:CreateDatabase",
        "glue:CreatePartition",
        "glue:CreateTable",
        "glue:DeletePartition",
        "glue:DeleteTable",
        "glue:DeleteTableVersion",
        "glue:GetDatabase",
        "glue:GetPartition",
        "glue:GetPartitions",
        "glue:GetTable",
        "glue:GetTables",
        "glue:GetTableVersion",
        "glue:GetTableVersions",
        "glue:SearchTables",
        "glue:UpdatePartition",
        "glue:UpdateTable",
        "glue:GetUserDefinedFunctions"
      ],
      "Resource": [
        "arn:aws:glue:*:*:catalog",
        "arn:aws:glue:*:*:database/default",
        "arn:aws:glue:*:*:database/global_temp",
        "arn:aws:glue:*:*:database/sagemaker-*",
        "arn:aws:glue:*:*:table/sagemaker-*",
        "arn:aws:glue:*:*:tableVersion/sagemaker-*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:CreateBucket",
        "s3:DeleteBucket",
        "s3:GetBucketAcl",
        "s3:GetBucketCors",
        "s3:GetBucketLocation",
        "s3:ListAllMyBuckets",
        "s3:ListBucket",
        "s3:ListBucketMultipartUploads",
        "s3:PutBucketCors"
      ],
      "Resource": [
        "arn:aws:s3:::aws-glue-*",
        "arn:aws:s3:::sagemaker-*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:AbortMultipartUpload",
        "s3:DeleteObject",
        "s3:GetObject",
        "s3:GetObjectVersion",
        "s3:PutObject"
      ],
      "Resource": [
        "arn:aws:s3:::aws-glue-*",
        "arn:aws:s3:::sagemaker-*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogDelivery",
        "logs:CreateLogGroup",
        "logs:CreateLogStream",
        "logs:DeleteLogDelivery",
        "logs:Describe*",
        "logs:GetLogDelivery",
        "logs:GetLogEvents",
        "logs:ListLogDeliveries",
        "logs:PutLogEvents",
        "logs:PutResourcePolicy",
        "logs:UpdateLogDelivery"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/aws/glue/*"
    }
  ]
}

Version history

Current version v2, edited by AWS on 2022-08-26. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy

Terraform

resource "aws_iam_role_policy_attachment" "service_role_amazonsagemakerservicecatalogproductsglueservicerolepolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonSageMakerServiceCatalogProductsGlueServiceRolePolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.