Skip to main content
IAM Policy Map

AWSGlueConsoleSageMakerNotebookFullAccess

AdminAWS managedActiveReviewedShow on mapCompare

Summary

Provides full access to AWS Glue via the AWS Management Console and access to sagemaker notebook instances. The AWS Glue Developer Guide says it grants full access to AWS Glue and SageMaker AI resources when used through the console.

Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.

Identity

ARN
arn:aws:iam::aws:policy/AWSGlueConsoleSageMakerNotebookFullAccess
Default version
v4
Created
Last edited
Services
cloudformation, cloudwatch, dynamodb, ec2, glue, iam, kms, logs, rds, redshift, s3, sagemaker, tag

Control-plane actions (365)

By access level: 53 List, 36 Permissions management, 104 Read, 6 Tagging, 166 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormation7 of 1042 List, 1 Read, 2 Tagging, 2 Write; 4 restricted, 2 conditionalcloudformation:CreateStack, cloudformation:DeleteStack, cloudformation:DescribeStacks, cloudformation:GetTemplateSummary, cloudformation:ListStacks, cloudformation:TagResource, cloudformation:UntagResource
CloudWatch1 of 1601 List; 0 restricted, 0 conditionalcloudwatch:ListDashboards
DynamoDB1 of 681 List; 0 restricted, 0 conditionaldynamodb:ListTables
EC220 of 83412 List, 2 Tagging, 6 Write; 4 restricted, 3 conditionalec2:AttachNetworkInterface, ec2:CreateNetworkInterface, ec2:CreateTags, ec2:DeleteNetworkInterface, ec2:DeleteTags, ec2:DescribeAvailabilityZones, ec2:DescribeImages, ec2:DescribeInstances, ec2:DescribeInternetGateways, ec2:DescribeKeyPairs, ec2:DescribeNetworkInterfaces, ec2:DescribeRouteTables and 8 more
GlueAll 306 actions (see the Glue page)27 List, 36 Permissions management, 93 Read, 2 Tagging, 148 Write; 0 restricted, 0 conditionalglue:*
IAM6 of 1903 List, 2 Read, 1 Write; 1 restricted, 1 conditionaliam:GetRole, iam:GetRolePolicy, iam:ListAttachedRolePolicies, iam:ListRolePolicies, iam:ListRoles, iam:PassRole
KMS2 of 581 List, 1 Read; 0 restricted, 0 conditionalkms:DescribeKey, kms:ListAliases
CloudWatch Logs1 of 1331 Read; 1 restricted, 0 conditionallogs:GetLogEvents
RDS1 of 1731 List; 0 restricted, 0 conditionalrds:DescribeDBInstances
Redshift2 of 1671 List, 1 Read; 0 restricted, 0 conditionalredshift:DescribeClusterSubnetGroups, redshift:DescribeClusters
S34 of 1551 List, 2 Read, 1 Write; 1 restricted, 0 conditionals3:CreateBucket, s3:GetBucketAcl, s3:GetBucketLocation, s3:ListAllMyBuckets
SageMaker13 of 4413 List, 2 Read, 8 Write; 12 restricted, 0 conditionalsagemaker:CreateNotebookInstance, sagemaker:CreateNotebookInstanceLifecycleConfig, sagemaker:CreatePresignedNotebookInstanceUrl, sagemaker:DeleteNotebookInstance, sagemaker:DeleteNotebookInstanceLifecycleConfig, sagemaker:DescribeNotebookInstance, sagemaker:DescribeNotebookInstanceLifecycleConfig, sagemaker:ListNotebookInstanceLifecycleConfigs, sagemaker:ListNotebookInstances, sagemaker:ListTags, sagemaker:StartNotebookInstance, sagemaker:StopNotebookInstance and 1 more
Resource Group Tagging1 of 91 Read; 1 restricted, 1 conditionaltag:GetResources
CloudFormation: 7 actions
  • cloudformation:CreateStack (Write)
  • cloudformation:DeleteStack (Write)
  • cloudformation:DescribeStacks (List)
  • cloudformation:GetTemplateSummary (Read)
  • cloudformation:ListStacks (List)
  • cloudformation:TagResource (Tagging)
  • cloudformation:UntagResource (Tagging)
CloudWatch: 1 actions
  • cloudwatch:ListDashboards (List)
DynamoDB: 1 actions
  • dynamodb:ListTables (List)
EC2: 20 actions
  • ec2:AttachNetworkInterface (Write)
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateTags (Tagging)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteTags (Tagging)
  • ec2:DescribeAvailabilityZones (List)
  • ec2:DescribeImages (List)
  • ec2:DescribeInstances (List)
  • ec2:DescribeInternetGateways (List)
  • ec2:DescribeKeyPairs (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeRouteTables (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcAttribute (List)
  • ec2:DescribeVpcEndpoints (List)
  • ec2:DescribeVpcs (List)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
  • ec2:RunInstances (Write)
  • ec2:TerminateInstances (Write)
IAM: 6 actions
  • iam:GetRole (Read)
  • iam:GetRolePolicy (Read)
  • iam:ListAttachedRolePolicies (List)
  • iam:ListRolePolicies (List)
  • iam:ListRoles (List)
  • iam:PassRole (Write)
KMS: 2 actions
  • kms:DescribeKey (Read)
  • kms:ListAliases (List)
CloudWatch Logs: 1 actions
  • logs:GetLogEvents (Read)
RDS: 1 actions
  • rds:DescribeDBInstances (List)
Redshift: 2 actions
  • redshift:DescribeClusterSubnetGroups (Read)
  • redshift:DescribeClusters (List)
S3: 4 actions
  • s3:CreateBucket (Write)
  • s3:GetBucketAcl (Read)
  • s3:GetBucketLocation (Read)
  • s3:ListAllMyBuckets (List)
SageMaker: 13 actions
  • sagemaker:CreateNotebookInstance (Write)
  • sagemaker:CreateNotebookInstanceLifecycleConfig (Write)
  • sagemaker:CreatePresignedNotebookInstanceUrl (Write)
  • sagemaker:DeleteNotebookInstance (Write)
  • sagemaker:DeleteNotebookInstanceLifecycleConfig (Write)
  • sagemaker:DescribeNotebookInstance (Read)
  • sagemaker:DescribeNotebookInstanceLifecycleConfig (Read)
  • sagemaker:ListNotebookInstanceLifecycleConfigs (List)
  • sagemaker:ListNotebookInstances (List)
  • sagemaker:ListTags (List)
  • sagemaker:StartNotebookInstance (Write)
  • sagemaker:StopNotebookInstance (Write)
  • sagemaker:UpdateNotebookInstance (Write)
Resource Group Tagging: 1 actions
  • tag:GetResources (Read)

Data-plane actions (4)

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

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricData
S33 of 251 List, 1 Read, 1 Write; 2 restricted, 0 conditionals3:GetObject, s3:ListBucket, s3:PutObject
CloudWatch: 1 actions
  • cloudwatch:GetMetricData (Read)
S3: 3 actions
  • s3:GetObject (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: mixed.

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

Why this tier

  • Grants at least 80% of the write and permissions-management actions of: glue (184 of 184).
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

Guidance

Practical scope

Fifteen statements. The first allows 38 actions on Resource "*": glue:* plus read and network actions for redshift, iam, ec2 (including ec2:CreateNetworkInterface, ec2:AttachNetworkInterface and ec2:DeleteNetworkInterface), rds, s3, cloudformation, dynamodb, kms, cloudwatch and sagemaker:ListNotebookInstances. Scoped statements allow s3:GetObject and s3:PutObject on the resource patterns arn:aws:s3:::*/*aws-glue-*/* and arn:aws:s3:::aws-glue-*, s3:CreateBucket on arn:aws:s3:::aws-glue-*, cloudformation:CreateStack and cloudformation:DeleteStack on aws-glue* stacks, 8 sagemaker notebook instance actions (including create, start, stop and delete) on notebook instances named aws-glue-*, four notebook lifecycle configuration actions on configurations named aws-glue-*, and ec2:RunInstances. Four statements allow iam:PassRole on roles named AWSGlueServiceRole*, AWSGlueServiceNotebookRole* and AWSGlueServiceSageMakerNotebookRole*, only when passed to glue.amazonaws.com, ec2.amazonaws.com or sagemaker.amazonaws.com.

Use cases

  • Let AWS Glue console users build Glue resources and create and manage SageMaker AI notebook instances named aws-glue-*, when resources follow the naming convention in the policy.

Best practices

  • AWS managed policies don't grant least privilege permissions. The IAM User Guide suggests using IAM Access Analyzer to see which permissions principals actually use, then writing a custom policy or generating one with only the required permissions.

Security considerations

  • glue:* on all resources gives full control of AWS Glue. The policy also lets a principal create, start, stop and delete SageMaker notebook instances named aws-glue-*, create and delete aws-glue* CloudFormation stacks and launch EC2 instances.
  • The S3 object resource pattern arn:aws:s3:::*/*aws-glue-*/* is not limited to buckets named aws-glue-*, so s3:GetObject and s3:PutObject reach objects in any bucket, for object keys that have an aws-glue- path segment.
  • It includes iam:PassRole for roles named AWSGlueServiceRole*, AWSGlueServiceNotebookRole* and AWSGlueServiceSageMakerNotebookRole*, limited by an iam:PassedToService condition. Passing a role to a service needs iam:PassRole. The IAM User Guide says that to pass a role to an AWS service, a user must have permission to pass the role to the service, which helps administrators ensure that only approved users can configure a service with a role that grants permissions.
  • You cannot change the permissions in an AWS managed policy. If AWS updates the policy, the update affects every user, group and role it is attached to.

Assignment guidance

You can attach this policy to your users, groups and roles. The reference page also links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. The AWS Glue Developer Guide says AWS managed policies for AWS Glue can be attached to identities in your account, and that this policy is typically attached to users of the AWS Glue console who manage SageMaker AI notebooks. It fits where that combination is intended.

Same service

Same domain

Frequently asked questions

When should I attach AWSGlueConsoleSageMakerNotebookFullAccess?
The AWS Glue Developer Guide says AWSGlueConsoleSageMakerNotebookFullAccess is typically attached to users of the AWS Glue console who manage SageMaker AI notebooks. Attach it to identities that need both, and consider AWSGlueConsoleFullAccess where notebooks are not needed.
What does AWSGlueConsoleSageMakerNotebookFullAccess grant?
It allows glue:* on all resources plus read and network actions for related services, s3:GetObject and s3:PutObject on two aws-glue-* resource patterns (one matches any bucket, for object keys with an aws-glue- path segment), SageMaker notebook instance and lifecycle configuration actions on aws-glue-* names, CloudFormation stack create and delete, EC2 instance launch and iam:PassRole for three AWSGlueService role name patterns.
What are the security risks of AWSGlueConsoleSageMakerNotebookFullAccess?
glue:* on all resources gives full control of AWS Glue, and the policy can create and delete SageMaker notebook instances, create CloudFormation stacks, launch EC2 instances and pass the named service roles. AWS managed policies don't grant least privilege permissions, and you must consider the security risk of granting principals more permissions than they need. AWS updates to the policy affect every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "glue:*",
        "redshift:DescribeClusters",
        "redshift:DescribeClusterSubnetGroups",
        "iam:ListRoles",
        "iam:ListRolePolicies",
        "iam:GetRole",
        "iam:GetRolePolicy",
        "iam:ListAttachedRolePolicies",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcs",
        "ec2:DescribeVpcEndpoints",
        "ec2:DescribeRouteTables",
        "ec2:DescribeVpcAttribute",
        "ec2:DescribeKeyPairs",
        "ec2:DescribeInstances",
        "ec2:DescribeImages",
        "ec2:CreateNetworkInterface",
        "ec2:AttachNetworkInterface",
        "ec2:ModifyNetworkInterfaceAttribute",
        "ec2:DeleteNetworkInterface",
        "ec2:DescribeAvailabilityZones",
        "ec2:DescribeInternetGateways",
        "ec2:DescribeNetworkInterfaces",
        "rds:DescribeDBInstances",
        "s3:ListAllMyBuckets",
        "s3:ListBucket",
        "s3:GetBucketAcl",
        "s3:GetBucketLocation",
        "cloudformation:DescribeStacks",
        "cloudformation:GetTemplateSummary",
        "dynamodb:ListTables",
        "kms:ListAliases",
        "kms:DescribeKey",
        "sagemaker:ListNotebookInstances",
        "cloudformation:ListStacks",
        "cloudwatch:GetMetricData",
        "cloudwatch:ListDashboards"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:PutObject"
      ],
      "Resource": [
        "arn:aws:s3:::*/*aws-glue-*/*",
        "arn:aws:s3:::aws-glue-*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:CreateBucket"
      ],
      "Resource": [
        "arn:aws:s3:::aws-glue-*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "logs:GetLogEvents"
      ],
      "Resource": [
        "arn:aws:logs:*:*:/aws-glue/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudformation:CreateStack",
        "cloudformation:DeleteStack"
      ],
      "Resource": "arn:aws:cloudformation:*:*:stack/aws-glue*/*"
    },
    {
      "Sid": "CloudFormationTagOnCreate",
      "Effect": "Allow",
      "Action": [
        "cloudformation:TagResource",
        "cloudformation:UntagResource"
      ],
      "Resource": "arn:aws:cloudformation:*:*:stack/aws-glue*/*",
      "Condition": {
        "StringEquals": {
          "cloudformation:CreateAction": [
            "CreateStack"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "sagemaker:CreatePresignedNotebookInstanceUrl",
        "sagemaker:CreateNotebookInstance",
        "sagemaker:DeleteNotebookInstance",
        "sagemaker:DescribeNotebookInstance",
        "sagemaker:StartNotebookInstance",
        "sagemaker:StopNotebookInstance",
        "sagemaker:UpdateNotebookInstance",
        "sagemaker:ListTags"
      ],
      "Resource": "arn:aws:sagemaker:*:*:notebook-instance/aws-glue-*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "sagemaker:DescribeNotebookInstanceLifecycleConfig",
        "sagemaker:CreateNotebookInstanceLifecycleConfig",
        "sagemaker:DeleteNotebookInstanceLifecycleConfig",
        "sagemaker:ListNotebookInstanceLifecycleConfigs"
      ],
      "Resource": "arn:aws:sagemaker:*:*:notebook-instance-lifecycle-config/aws-glue-*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:RunInstances"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:instance/*",
        "arn:aws:ec2:*:*:key-pair/*",
        "arn:aws:ec2:*:*:image/*",
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:network-interface/*",
        "arn:aws:ec2:*:*:subnet/*",
        "arn:aws:ec2:*:*:volume/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:TerminateInstances",
        "ec2:CreateTags",
        "ec2:DeleteTags"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:instance/*"
      ],
      "Condition": {
        "StringLike": {
          "ec2:ResourceTag/aws:cloudformation:stack-id": "arn:aws:cloudformation:*:*:stack/aws-glue-*/*"
        },
        "StringEquals": {
          "ec2:ResourceTag/aws:cloudformation:logical-id": "ZeppelinInstance"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "tag:GetResources"
      ],
      "Resource": [
        "*"
      ],
      "Condition": {
        "ForAllValues:StringLike": {
          "aws:TagKeys": [
            "aws-glue-*"
          ]
        }
      }
    },
    {
      "Action": [
        "iam:PassRole"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:iam::*:role/AWSGlueServiceRole*",
      "Condition": {
        "StringLike": {
          "iam:PassedToService": [
            "glue.amazonaws.com"
          ]
        }
      }
    },
    {
      "Action": [
        "iam:PassRole"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:iam::*:role/AWSGlueServiceNotebookRole*",
      "Condition": {
        "StringLike": {
          "iam:PassedToService": [
            "ec2.amazonaws.com"
          ]
        }
      }
    },
    {
      "Action": [
        "iam:PassRole"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:iam::*:role/AWSGlueServiceSageMakerNotebookRole*",
      "Condition": {
        "StringLike": {
          "iam:PassedToService": [
            "sagemaker.amazonaws.com"
          ]
        }
      }
    },
    {
      "Action": [
        "iam:PassRole"
      ],
      "Effect": "Allow",
      "Resource": [
        "arn:aws:iam::*:role/service-role/AWSGlueServiceRole*"
      ],
      "Condition": {
        "StringLike": {
          "iam:PassedToService": [
            "glue.amazonaws.com"
          ]
        }
      }
    }
  ]
}

Version history

Current version v4, edited by AWS on 2026-09-10. 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/AWSGlueConsoleSageMakerNotebookFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSGlueConsoleSageMakerNotebookFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSGlueConsoleSageMakerNotebookFullAccess

CloudFormation

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

Terraform

resource "aws_iam_role_policy_attachment" "awsglueconsolesagemakernotebookfullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSGlueConsoleSageMakerNotebookFullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSGlueConsoleSageMakerNotebookFullAccess"),
);

Sources