Skip to main content
IAM Policy Map

AmazonSageMakerNotebooksServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Managed policy for Service Linked Role for Amazon SageMaker Notebooks

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AmazonSageMakerNotebooksServiceRolePolicy
Default version
v12
Created
Last edited
Services
ec2, elasticfilesystem, fsx, kms, sagemaker, sso

Control-plane actions (41)

By access level: 9 List, 2 Permissions management, 5 Read, 3 Tagging, 22 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC218 of 8346 List, 2 Permissions management, 1 Tagging, 9 Write; 8 restricted, 7 conditionalec2:AuthorizeSecurityGroupEgress, ec2:AuthorizeSecurityGroupIngress, ec2:CreateNetworkInterface, ec2:CreateNetworkInterfacePermission, ec2:CreateSecurityGroup, ec2:CreateTags, ec2:DeleteNetworkInterface, ec2:DeleteNetworkInterfacePermission, ec2:DeleteSecurityGroup, ec2:DescribeDhcpOptions, ec2:DescribeNetworkInterfaces, ec2:DescribeRouteTables and 6 more
EFS10 of 382 List, 1 Read, 1 Tagging, 6 Write; 7 restricted, 7 conditionalelasticfilesystem:CreateAccessPoint, elasticfilesystem:CreateFileSystem, elasticfilesystem:CreateMountTarget, elasticfilesystem:DeleteAccessPoint, elasticfilesystem:DeleteFileSystem, elasticfilesystem:DeleteMountTarget, elasticfilesystem:DescribeAccessPoints, elasticfilesystem:DescribeFileSystems, elasticfilesystem:DescribeMountTargets, elasticfilesystem:TagResource
FSx1 of 561 Read; 1 restricted, 1 conditionalfsx:DescribeFileSystems
KMS1 of 581 Write; 1 restricted, 1 conditionalkms:Decrypt
SageMaker8 of 4411 List, 2 Read, 1 Tagging, 4 Write; 6 restricted, 1 conditionalsagemaker:AddTags, sagemaker:CreateSpace, sagemaker:CreateUserProfile, sagemaker:DeleteApp, sagemaker:DeleteSpace, sagemaker:DescribeSpace, sagemaker:DescribeUserProfile, sagemaker:ListTags
IAM Identity Center3 of 1261 Read, 2 Write; 0 restricted, 0 conditionalsso:CreateManagedApplicationInstance, sso:DeleteManagedApplicationInstance, sso:GetManagedApplicationInstance
EC2: 18 actions
  • ec2:AuthorizeSecurityGroupEgress (Write)
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateNetworkInterfacePermission (Permissions management)
  • ec2:CreateSecurityGroup (Write)
  • ec2:CreateTags (Tagging)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteNetworkInterfacePermission (Permissions management)
  • ec2:DeleteSecurityGroup (Write)
  • ec2:DescribeDhcpOptions (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeRouteTables (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcs (List)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
  • ec2:RevokeSecurityGroupEgress (Write)
  • ec2:RevokeSecurityGroupIngress (Write)
EFS: 10 actions
  • elasticfilesystem:CreateAccessPoint (Write)
  • elasticfilesystem:CreateFileSystem (Write)
  • elasticfilesystem:CreateMountTarget (Write)
  • elasticfilesystem:DeleteAccessPoint (Write)
  • elasticfilesystem:DeleteFileSystem (Write)
  • elasticfilesystem:DeleteMountTarget (Write)
  • elasticfilesystem:DescribeAccessPoints (List)
  • elasticfilesystem:DescribeFileSystems (List)
  • elasticfilesystem:DescribeMountTargets (Read)
  • elasticfilesystem:TagResource (Tagging)
FSx: 1 actions
  • fsx:DescribeFileSystems (Read)
KMS: 1 actions
  • kms:Decrypt (Write)
SageMaker: 8 actions
  • sagemaker:AddTags (Tagging)
  • sagemaker:CreateSpace (Write)
  • sagemaker:CreateUserProfile (Write)
  • sagemaker:DeleteApp (Write)
  • sagemaker:DeleteSpace (Write)
  • sagemaker:DescribeSpace (Read)
  • sagemaker:DescribeUserProfile (Read)
  • sagemaker:ListTags (List)
IAM Identity Center: 3 actions
  • sso:CreateManagedApplicationInstance (Write)
  • sso:DeleteManagedApplicationInstance (Write)
  • sso:GetManagedApplicationInstance (Read)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

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: No (service-linked role policy).

Why this tier

  • Grants 27 write, tagging or permissions-management actions, short of full control of any service.

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": [
    {
      "Sid": "AllowFSxDescribe",
      "Effect": "Allow",
      "Action": [
        "fsx:DescribeFileSystems"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AllowSageMakerDeleteApp",
      "Effect": "Allow",
      "Action": [
        "sagemaker:DeleteApp"
      ],
      "Resource": "arn:aws:sagemaker:*:*:app/*"
    },
    {
      "Sid": "AllowEFSAccessPointCreation",
      "Effect": "Allow",
      "Action": "elasticfilesystem:CreateAccessPoint",
      "Resource": "arn:aws:elasticfilesystem:*:*:file-system/*",
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/ManagedByAmazonSageMakerResource": "*",
          "aws:RequestTag/ManagedByAmazonSageMakerResource": "*"
        }
      }
    },
    {
      "Sid": "AllowEFSAccessPointDeletion",
      "Effect": "Allow",
      "Action": [
        "elasticfilesystem:DeleteAccessPoint"
      ],
      "Resource": "arn:aws:elasticfilesystem:*:*:access-point/*",
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/ManagedByAmazonSageMakerResource": "*"
        }
      }
    },
    {
      "Sid": "AllowEFSCreation",
      "Effect": "Allow",
      "Action": "elasticfilesystem:CreateFileSystem",
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aws:RequestTag/ManagedByAmazonSageMakerResource": "*"
        }
      }
    },
    {
      "Sid": "AllowEFSMountWithDeletion",
      "Effect": "Allow",
      "Action": [
        "elasticfilesystem:CreateMountTarget",
        "elasticfilesystem:DeleteFileSystem",
        "elasticfilesystem:DeleteMountTarget"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/ManagedByAmazonSageMakerResource": "*"
        }
      }
    },
    {
      "Sid": "AllowEFSDescribe",
      "Effect": "Allow",
      "Action": [
        "elasticfilesystem:DescribeAccessPoints",
        "elasticfilesystem:DescribeFileSystems",
        "elasticfilesystem:DescribeMountTargets"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowEFSTagging",
      "Effect": "Allow",
      "Action": "elasticfilesystem:TagResource",
      "Resource": [
        "arn:aws:elasticfilesystem:*:*:access-point/*",
        "arn:aws:elasticfilesystem:*:*:file-system/*"
      ],
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/ManagedByAmazonSageMakerResource": "*"
        }
      }
    },
    {
      "Sid": "AllowEC2Tagging",
      "Effect": "Allow",
      "Action": "ec2:CreateTags",
      "Resource": [
        "arn:aws:ec2:*:*:network-interface/*",
        "arn:aws:ec2:*:*:security-group/*"
      ]
    },
    {
      "Sid": "AllowEC2Operations",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateNetworkInterface",
        "ec2:CreateSecurityGroup",
        "ec2:DeleteNetworkInterface",
        "ec2:DescribeDhcpOptions",
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeRouteTables",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcs",
        "ec2:ModifyNetworkInterfaceAttribute"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowEC2AuthZ",
      "Effect": "Allow",
      "Action": [
        "ec2:AuthorizeSecurityGroupEgress",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:CreateNetworkInterfacePermission",
        "ec2:DeleteNetworkInterfacePermission",
        "ec2:DeleteSecurityGroup",
        "ec2:RevokeSecurityGroupEgress",
        "ec2:RevokeSecurityGroupIngress"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "ec2:ResourceTag/ManagedByAmazonSageMakerResource": "*"
        }
      }
    },
    {
      "Sid": "AllowIdcOperations",
      "Effect": "Allow",
      "Action": [
        "sso:CreateManagedApplicationInstance",
        "sso:DeleteManagedApplicationInstance",
        "sso:GetManagedApplicationInstance"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowKmsAccessViaIdentityCenter",
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt"
      ],
      "Resource": "*",
      "Condition": {
        "ArnLike": {
          "kms:EncryptionContext:aws:sso:instance-arn": "arn:*:sso:::instance/*"
        },
        "StringLike": {
          "kms:ViaService": "sso.*.amazonaws.com"
        }
      }
    },
    {
      "Sid": "AllowKmsAccessViaIdentityStore",
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt"
      ],
      "Resource": "*",
      "Condition": {
        "ArnLike": {
          "kms:EncryptionContext:aws:identitystore:identitystore-arn": "arn:*:identitystore::*:identitystore/*"
        },
        "StringLike": {
          "kms:ViaService": "identitystore.*.amazonaws.com"
        }
      }
    },
    {
      "Sid": "AllowSagemakerProfileCreation",
      "Effect": "Allow",
      "Action": [
        "sagemaker:CreateUserProfile",
        "sagemaker:DescribeUserProfile"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowSagemakerSpaceOperationsForCanvasManagedSpaces",
      "Effect": "Allow",
      "Action": [
        "sagemaker:CreateSpace",
        "sagemaker:DescribeSpace",
        "sagemaker:DeleteSpace",
        "sagemaker:ListTags"
      ],
      "Resource": "arn:aws:sagemaker:*:*:space/*/CanvasManagedSpace-*"
    },
    {
      "Sid": "AllowSagemakerAddTagsForAppManagedSpaces",
      "Effect": "Allow",
      "Action": [
        "sagemaker:AddTags"
      ],
      "Resource": "arn:aws:sagemaker:*:*:space/*/CanvasManagedSpace-*",
      "Condition": {
        "StringEquals": {
          "sagemaker:TaggingAction": "CreateSpace"
        }
      }
    }
  ]
}

Version history

Current version v12, edited by AWS on 2026-04-16. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.