AmazonSageMakerFullAccess
Summary
Provides full access to Amazon SageMaker AI via the AWS Management Console and SDK, with select access to related services such as S3, ECR and CloudWatch Logs. The Amazon SageMaker AI Developer Guide says it grants full access to SageMaker AI and SageMaker AI geospatial resources and the supported operations.
Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonSageMakerFullAccess- Default version
- v29
- Created
- Last edited
- Services
- application-autoscaling, athena, aws-marketplace, cloudformation, cloudwatch, codebuild, codecommit, cognito-idp, ec2, ecr, elasticfilesystem, fsx, glue, groundtruthlabeling, iam, kms, lambda, logs, redshift, redshift-data, robomaker, s3, s3express, sagemaker, sagemaker-geospatial, secretsmanager, servicecatalog, sns, states, tag
Control-plane actions (721)
By access level: 192 List, 5 Permissions management, 182 Read, 4 Tagging, 338 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Application Auto Scaling | 10 of 14 | 4 Read, 6 Write; 0 restricted, 0 conditional | application-autoscaling:DeleteScalingPolicy, application-autoscaling:DeleteScheduledAction, application-autoscaling:DeregisterScalableTarget, application-autoscaling:DescribeScalableTargets, application-autoscaling:DescribeScalingActivities, application-autoscaling:DescribeScalingPolicies, application-autoscaling:DescribeScheduledActions, application-autoscaling:PutScalingPolicy, application-autoscaling:PutScheduledAction, application-autoscaling:RegisterScalableTarget |
| Athena | 7 of 86 | 2 List, 3 Read, 2 Write; 0 restricted, 0 conditional | athena:GetQueryExecution, athena:GetQueryResults, athena:ListDataCatalogs, athena:ListDatabases, athena:ListTableMetadata, athena:StartQueryExecution, athena:StopQueryExecution |
| Marketplace | 1 of 97 | 1 List; 0 restricted, 0 conditional | aws-marketplace:ViewSubscriptions |
| CloudFormation | 2 of 104 | 1 List, 1 Read; 1 restricted, 0 conditional | cloudformation:GetTemplateSummary, cloudformation:ListStackResources |
| CloudWatch | 3 of 160 | 1 Read, 2 Write; 0 restricted, 0 conditional | cloudwatch:DeleteAlarms, cloudwatch:DescribeAlarms, cloudwatch:PutMetricAlarm |
| CodeBuild | 2 of 67 | 1 Read, 1 Write; 2 restricted, 0 conditional | codebuild:BatchGetBuilds, codebuild:StartBuild |
| CodeCommit | 13 of 91 | 8 List, 3 Read, 2 Write; 2 restricted, 0 conditional | codecommit:BatchGetRepositories, codecommit:CreateRepository, codecommit:GetRepository, codecommit:GitPull, codecommit:GitPush, codecommit:List* |
| Cognito User Pools | 29 of 139 | 15 List, 2 Read, 12 Write; 0 restricted, 0 conditional | cognito-idp:AdminAddUserToGroup, cognito-idp:AdminCreateUser, cognito-idp:AdminDeleteUser, cognito-idp:AdminDisableUser, cognito-idp:AdminEnableUser, cognito-idp:AdminRemoveUserFromGroup, cognito-idp:CreateGroup, cognito-idp:CreateUserPool, cognito-idp:CreateUserPoolClient, cognito-idp:CreateUserPoolDomain, cognito-idp:DescribeUserPool, cognito-idp:DescribeUserPoolClient and 3 more |
| EC2 | 12 of 834 | 7 List, 2 Permissions management, 3 Write; 0 restricted, 0 conditional | ec2:CreateNetworkInterface, ec2:CreateNetworkInterfacePermission, ec2:CreateVpcEndpoint, ec2:DeleteNetworkInterface, ec2:DeleteNetworkInterfacePermission, ec2:DescribeDhcpOptions, ec2:DescribeNetworkInterfaces, ec2:DescribeRouteTables, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcEndpoints, ec2:DescribeVpcs |
| Elastic Container Registry | 23 of 65 | 2 List, 2 Permissions management, 11 Read, 8 Write; 8 restricted, 0 conditional | ecr:BatchCheckLayerAvailability, ecr:BatchDeleteImage, ecr:BatchGetImage, ecr:CompleteLayerUpload, ecr:CreateRepository, ecr:DeleteRepository, ecr:DeleteRepositoryPolicy, ecr:Describe*, ecr:GetAuthorizationToken, ecr:GetDownloadUrlForLayer, ecr:InitiateLayerUpload, ecr:PutImage and 3 more |
| EFS | 2 of 38 | 1 List, 1 Read; 0 restricted, 0 conditional | elasticfilesystem:DescribeFileSystems, elasticfilesystem:DescribeMountTargets |
| FSx | 1 of 56 | 1 Read; 0 restricted, 0 conditional | fsx:DescribeFileSystems |
| Glue | 24 of 306 | 14 Read, 10 Write; 6 restricted, 0 conditional | glue:CreateDatabase, glue:CreateJob, glue:CreateTable, glue:DeleteJob, glue:DeleteTable, glue:GetDatabase, glue:GetDatabases, glue:GetJob*, glue:GetTable, glue:GetTable*, glue:GetTables, glue:GetWorkflowRun and 5 more |
| GroundTruth Labeling | All 16 actions (see the GroundTruth Labeling page) | 6 Read, 10 Write; 0 restricted, 0 conditional | groundtruthlabeling:* |
| IAM | 3 of 190 | 1 List, 2 Write; 2 restricted, 2 conditional | iam:CreateServiceLinkedRole, iam:ListRoles, iam:PassRole |
| KMS | 2 of 58 | 1 List, 1 Read; 0 restricted, 0 conditional | kms:DescribeKey, kms:ListAliases |
| Lambda | 1 of 121 | 1 List; 0 restricted, 0 conditional | lambda:ListFunctions |
| CloudWatch Logs | 29 of 133 | 20 List, 1 Permissions management, 2 Read, 6 Write; 0 restricted, 0 conditional | logs:CreateLogDelivery, logs:CreateLogGroup, logs:CreateLogStream, logs:DeleteLogDelivery, logs:Describe*, logs:GetLogDelivery, logs:GetLogEvents, logs:ListLogDeliveries, logs:PutLogEvents, logs:PutResourcePolicy, logs:UpdateLogDelivery |
| Redshift | 1 of 167 | 1 Write; 1 restricted, 0 conditional | redshift:GetClusterCredentials |
| Redshift Data API | 6 of 12 | 1 List, 3 Read, 2 Write; 0 restricted, 0 conditional | redshift-data:CancelStatement, redshift-data:DescribeStatement, redshift-data:ExecuteStatement, redshift-data:GetStatementResult, redshift-data:ListSchemas, redshift-data:ListTables |
| RoboMaker | 6 of 59 | 2 Read, 4 Write; 0 restricted, 0 conditional | robomaker:CancelSimulationJob, robomaker:CreateSimulationApplication, robomaker:CreateSimulationJob, robomaker:DeleteSimulationApplication, robomaker:DescribeSimulationApplication, robomaker:DescribeSimulationJob |
| S3 | 6 of 155 | 1 List, 3 Read, 2 Write; 1 restricted, 0 conditional | s3:CreateBucket, s3:GetBucketAcl, s3:GetBucketCors, s3:GetBucketLocation, s3:ListAllMyBuckets, s3:PutBucketCors |
| S3 Express | 3 of 28 | 1 List, 2 Write; 2 restricted, 2 conditional | s3express:CreateBucket, s3express:CreateSession, s3express:ListAllMyDirectoryBuckets |
| SageMaker | All 441 actions (see the SageMaker page) | 96 List, 97 Read, 2 Tagging, 246 Write; 0 restricted, 0 conditional | sagemaker:*, sagemaker:AddTags, sagemaker:CreateApp, sagemaker:CreateCluster, sagemaker:CreatePresignedDomainUrl, sagemaker:CreateSpace, sagemaker:CreateTrainingJob, sagemaker:DeleteApp, sagemaker:DeleteSpace, sagemaker:DescribeApp, sagemaker:DescribeDomain, sagemaker:DescribeSpace and 9 more |
| SageMaker geospatial capabilities | All 19 actions (see the SageMaker geospatial capabilities page) | 4 List, 5 Read, 2 Tagging, 8 Write; 0 restricted, 0 conditional | sagemaker-geospatial:* |
| Secrets Manager | 4 of 27 | 1 List, 2 Read, 1 Write; 3 restricted, 0 conditional | secretsmanager:CreateSecret, secretsmanager:DescribeSecret, secretsmanager:GetSecretValue, secretsmanager:ListSecrets |
| Service Catalog | 46 of 117 | 27 List, 16 Read, 3 Write; 2 restricted, 2 conditional | servicecatalog:Describe*, servicecatalog:List*, servicecatalog:ProvisionProduct, servicecatalog:ScanProvisionedProducts, servicecatalog:SearchProducts, servicecatalog:SearchProvisionedProducts, servicecatalog:TerminateProvisionedProduct, servicecatalog:UpdateProvisionedProduct |
| SNS | 3 of 40 | 1 List, 2 Write; 2 restricted, 0 conditional | sns:CreateTopic, sns:ListTopics, sns:Subscribe |
| Step Functions | 5 of 37 | 2 Read, 3 Write; 5 restricted, 0 conditional | states:DescribeExecution, states:GetExecutionHistory, states:StartExecution, states:StopExecution, states:UpdateStateMachine |
| Resource Group Tagging | 1 of 9 | 1 Read; 0 restricted, 0 conditional | tag:GetResources |
Application Auto Scaling: 10 actions
- application-autoscaling:DeleteScalingPolicy (Write)
- application-autoscaling:DeleteScheduledAction (Write)
- application-autoscaling:DeregisterScalableTarget (Write)
- application-autoscaling:DescribeScalableTargets (Read)
- application-autoscaling:DescribeScalingActivities (Read)
- application-autoscaling:DescribeScalingPolicies (Read)
- application-autoscaling:DescribeScheduledActions (Read)
- application-autoscaling:PutScalingPolicy (Write)
- application-autoscaling:PutScheduledAction (Write)
- application-autoscaling:RegisterScalableTarget (Write)
Athena: 7 actions
- athena:GetQueryExecution (Read)
- athena:GetQueryResults (Read)
- athena:ListDataCatalogs (List)
- athena:ListDatabases (List)
- athena:ListTableMetadata (Read)
- athena:StartQueryExecution (Write)
- athena:StopQueryExecution (Write)
Marketplace: 1 actions
- aws-marketplace:ViewSubscriptions (List)
CloudFormation: 2 actions
- cloudformation:GetTemplateSummary (Read)
- cloudformation:ListStackResources (List)
CloudWatch: 3 actions
- cloudwatch:DeleteAlarms (Write)
- cloudwatch:DescribeAlarms (Read)
- cloudwatch:PutMetricAlarm (Write)
CodeBuild: 2 actions
- codebuild:BatchGetBuilds (Read)
- codebuild:StartBuild (Write)
CodeCommit: 13 actions
- codecommit:BatchGetRepositories (Read)
- codecommit:CreateRepository (Write)
- codecommit:GetRepository (Read)
- codecommit:GitPull (Read)
- codecommit:GitPush (Write)
- codecommit:ListApprovalRuleTemplates (List)
- codecommit:ListAssociatedApprovalRuleTemplatesForRepository (List)
- codecommit:ListBranches (List)
- codecommit:ListFileCommitHistory (List)
- codecommit:ListPullRequests (List)
- codecommit:ListRepositories (List)
- codecommit:ListRepositoriesForApprovalRuleTemplate (List)
- codecommit:ListTagsForResource (List)
Cognito User Pools: 29 actions
- cognito-idp:AdminAddUserToGroup (Write)
- cognito-idp:AdminCreateUser (Write)
- cognito-idp:AdminDeleteUser (Write)
- cognito-idp:AdminDisableUser (Write)
- cognito-idp:AdminEnableUser (Write)
- cognito-idp:AdminRemoveUserFromGroup (Write)
- cognito-idp:CreateGroup (Write)
- cognito-idp:CreateUserPool (Write)
- cognito-idp:CreateUserPoolClient (Write)
- cognito-idp:CreateUserPoolDomain (Write)
- cognito-idp:DescribeUserPool (Read)
- cognito-idp:DescribeUserPoolClient (Read)
- cognito-idp:ListDevices (List)
- cognito-idp:ListGroups (List)
- cognito-idp:ListIdentityProviders (List)
- cognito-idp:ListResourceServers (List)
- cognito-idp:ListResourcesForWebACL (List)
- cognito-idp:ListTagsForResource (List)
- cognito-idp:ListTerms (List)
- cognito-idp:ListUserImportJobs (List)
- cognito-idp:ListUserPoolClientSecrets (List)
- cognito-idp:ListUserPoolClients (List)
- cognito-idp:ListUserPoolReplicas (List)
- cognito-idp:ListUserPools (List)
- cognito-idp:ListUserSessions (List)
- cognito-idp:ListUsers (List)
- cognito-idp:ListUsersInGroup (List)
- cognito-idp:UpdateUserPool (Write)
- cognito-idp:UpdateUserPoolClient (Write)
EC2: 12 actions
- ec2:CreateNetworkInterface (Write)
- ec2:CreateNetworkInterfacePermission (Permissions management)
- ec2:CreateVpcEndpoint (Write)
- ec2:DeleteNetworkInterface (Write)
- ec2:DeleteNetworkInterfacePermission (Permissions management)
- ec2:DescribeDhcpOptions (List)
- ec2:DescribeNetworkInterfaces (List)
- ec2:DescribeRouteTables (List)
- ec2:DescribeSecurityGroups (List)
- ec2:DescribeSubnets (List)
- ec2:DescribeVpcEndpoints (List)
- ec2:DescribeVpcs (List)
Elastic Container Registry: 23 actions
- ecr:BatchCheckLayerAvailability (Read)
- ecr:BatchDeleteImage (Write)
- ecr:BatchGetImage (Read)
- ecr:CompleteLayerUpload (Write)
- ecr:CreateRepository (Write)
- ecr:DeleteRepository (Write)
- ecr:DeleteRepositoryPolicy (Permissions management)
- ecr:DescribeImageReplicationStatus (Read)
- ecr:DescribeImageScanFindings (Read)
- ecr:DescribeImageSigningStatus (Read)
- ecr:DescribeImages (List)
- ecr:DescribePullThroughCacheRules (List)
- ecr:DescribeRegistry (Read)
- ecr:DescribeReplicationBackfillResults (Read)
- ecr:DescribeRepositories (Read)
- ecr:DescribeRepositoryCreationTemplates (Read)
- ecr:GetAuthorizationToken (Read)
- ecr:GetDownloadUrlForLayer (Read)
- ecr:InitiateLayerUpload (Write)
- ecr:PutImage (Write)
- ecr:SetRepositoryPolicy (Permissions management)
- ecr:StartImageScan (Write)
- ecr:UploadLayerPart (Write)
EFS: 2 actions
- elasticfilesystem:DescribeFileSystems (List)
- elasticfilesystem:DescribeMountTargets (Read)
FSx: 1 actions
- fsx:DescribeFileSystems (Read)
Glue: 24 actions
- glue:CreateDatabase (Write)
- glue:CreateJob (Write)
- glue:CreateTable (Write)
- glue:DeleteJob (Write)
- glue:DeleteTable (Write)
- glue:GetDatabase (Read)
- glue:GetDatabases (Read)
- glue:GetJob (Read)
- glue:GetJobBookmark (Read)
- glue:GetJobRun (Read)
- glue:GetJobRuns (Read)
- glue:GetJobUpgradeAnalysis (Read)
- glue:GetJobs (Read)
- glue:GetTable (Read)
- glue:GetTableOptimizer (Read)
- glue:GetTableVersion (Read)
- glue:GetTableVersions (Read)
- glue:GetTables (Read)
- glue:GetWorkflowRun (Read)
- glue:ResetJobBookmark (Write)
- glue:StartJobRun (Write)
- glue:StartWorkflowRun (Write)
- glue:UpdateJob (Write)
- glue:UpdateTable (Write)
IAM: 3 actions
- iam:CreateServiceLinkedRole (Write)
- iam:ListRoles (List)
- iam:PassRole (Write)
KMS: 2 actions
- kms:DescribeKey (Read)
- kms:ListAliases (List)
Lambda: 1 actions
- lambda:ListFunctions (List)
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)
Redshift: 1 actions
- redshift:GetClusterCredentials (Write)
Redshift Data API: 6 actions
- redshift-data:CancelStatement (Write)
- redshift-data:DescribeStatement (Read)
- redshift-data:ExecuteStatement (Write)
- redshift-data:GetStatementResult (Read)
- redshift-data:ListSchemas (Read)
- redshift-data:ListTables (List)
RoboMaker: 6 actions
- robomaker:CancelSimulationJob (Write)
- robomaker:CreateSimulationApplication (Write)
- robomaker:CreateSimulationJob (Write)
- robomaker:DeleteSimulationApplication (Write)
- robomaker:DescribeSimulationApplication (Read)
- robomaker:DescribeSimulationJob (Read)
S3: 6 actions
- s3:CreateBucket (Write)
- s3:GetBucketAcl (Read)
- s3:GetBucketCORS (Read)
- s3:GetBucketLocation (Read)
- s3:ListAllMyBuckets (List)
- s3:PutBucketCORS (Write)
S3 Express: 3 actions
- s3express:CreateBucket (Write)
- s3express:CreateSession (Write)
- s3express:ListAllMyDirectoryBuckets (List)
Secrets Manager: 4 actions
- secretsmanager:CreateSecret (Write)
- secretsmanager:DescribeSecret (Read)
- secretsmanager:GetSecretValue (Read)
- secretsmanager:ListSecrets (List)
Service Catalog: 46 actions
- servicecatalog:DescribeConstraint (Read)
- servicecatalog:DescribeCopyProductStatus (Read)
- servicecatalog:DescribePortfolio (Read)
- servicecatalog:DescribePortfolioShareStatus (Read)
- servicecatalog:DescribePortfolioShares (List)
- servicecatalog:DescribeProduct (Read)
- servicecatalog:DescribeProductAsAdmin (Read)
- servicecatalog:DescribeProductView (Read)
- servicecatalog:DescribeProvisionedProduct (Read)
- servicecatalog:DescribeProvisionedProductPlan (Read)
- servicecatalog:DescribeProvisioningArtifact (Read)
- servicecatalog:DescribeProvisioningParameters (Read)
- servicecatalog:DescribeRecord (Read)
- servicecatalog:DescribeServiceAction (Read)
- servicecatalog:DescribeServiceActionExecutionParameters (Read)
- servicecatalog:DescribeTagOption (Read)
- servicecatalog:ListAcceptedPortfolioShares (List)
- servicecatalog:ListApplications (List)
- servicecatalog:ListAssociatedAttributeGroups (List)
- servicecatalog:ListAssociatedResources (List)
- servicecatalog:ListAttributeGroups (List)
- servicecatalog:ListAttributeGroupsForApplication (List)
- servicecatalog:ListBudgetsForResource (List)
- servicecatalog:ListConstraintsForPortfolio (List)
- servicecatalog:ListLaunchPaths (List)
- servicecatalog:ListOrganizationPortfolioAccess (List)
- servicecatalog:ListPortfolioAccess (List)
- servicecatalog:ListPortfolios (List)
- servicecatalog:ListPortfoliosForProduct (List)
- servicecatalog:ListPrincipalsForPortfolio (List)
- servicecatalog:ListProvisionedProductPlans (List)
- servicecatalog:ListProvisioningArtifacts (List)
- servicecatalog:ListProvisioningArtifactsForServiceAction (List)
- servicecatalog:ListRecordHistory (List)
- servicecatalog:ListResourcesForTagOption (List)
- servicecatalog:ListServiceActions (List)
- servicecatalog:ListServiceActionsForProvisioningArtifact (List)
- servicecatalog:ListStackInstancesForProvisionedProduct (List)
- servicecatalog:ListTagOptions (List)
- servicecatalog:ListTagsForResource (Read)
- servicecatalog:ProvisionProduct (Write)
- servicecatalog:ScanProvisionedProducts (List)
- servicecatalog:SearchProducts (List)
- servicecatalog:SearchProvisionedProducts (List)
- servicecatalog:TerminateProvisionedProduct (Write)
- servicecatalog:UpdateProvisionedProduct (Write)
SNS: 3 actions
- sns:CreateTopic (Write)
- sns:ListTopics (List)
- sns:Subscribe (Write)
Step Functions: 5 actions
- states:DescribeExecution (Read)
- states:GetExecutionHistory (Read)
- states:StartExecution (Write)
- states:StopExecution (Write)
- states:UpdateStateMachine (Write)
Resource Group Tagging: 1 actions
- tag:GetResources (Read)
Data-plane actions (31)
By access level: 3 List, 1 Permissions management, 10 Read, 17 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch | 4 of 5 | 1 List, 2 Read, 1 Write; 0 restricted, 0 conditional | cloudwatch:GetMetricData, cloudwatch:GetMetricStatistics, cloudwatch:ListMetrics, cloudwatch:PutMetricData |
| Lambda | 1 of 14 | 1 Write; 1 restricted, 0 conditional | lambda:InvokeFunction |
| S3 | 6 of 25 | 1 List, 1 Permissions management, 1 Read, 3 Write; 5 restricted, 0 conditional | s3:AbortMultipartUpload, s3:DeleteObject, s3:GetObject, s3:ListBucket, s3:PutObject, s3:PutObjectAcl |
| SageMaker | All 19 actions (see the SageMaker page) | 1 List, 7 Read, 11 Write; 0 restricted, 0 conditional | sagemaker:* |
| SNS | All 1 actions (see the SNS page) | 1 Write; 1 restricted, 0 conditional | sns:Publish |
CloudWatch: 4 actions
- cloudwatch:GetMetricData (Read)
- cloudwatch:GetMetricStatistics (Read)
- cloudwatch:ListMetrics (List)
- cloudwatch:PutMetricData (Write)
Lambda: 1 actions
- lambda:InvokeFunction (Write)
S3: 6 actions
- s3:AbortMultipartUpload (Write)
- s3:DeleteObject (Write)
- s3:GetObject (Read)
- s3:ListBucket (List)
- s3:PutObject (Write)
- s3:PutObjectAcl (Permissions management)
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: application-autoscaling (6 of 6), groundtruthlabeling (10 of 10), sagemaker (257 of 257), sagemaker-geospatial (8 of 8).
- 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
The first statement allows sagemaker:* and sagemaker-geospatial:* on every resource except the domain, user-profile, app, space, partner-app, flow-definition, training-plan and reserved-capacity ARN types, which later statements treat separately with their own actions, conditions and ownership checks. Other statements allow actions for services including Application Auto Scaling, CloudWatch, CodeCommit, Cognito, EC2, ECR, EFS, Glue, Lambda, CloudWatch Logs, Secrets Manager, Service Catalog, SNS, Step Functions, Athena and Redshift Data, many limited to resources whose names contain sagemaker. S3 object actions (s3:GetObject, s3:PutObject, s3:DeleteObject, s3:AbortMultipartUpload) apply to the resource patterns arn:aws:s3:::*SageMaker*, arn:aws:s3:::*Sagemaker*, arn:aws:s3:::*sagemaker* and arn:aws:s3:::*aws-glue*. Because * in an IAM resource pattern also matches /, these patterns match any S3 ARN containing that word after arn:aws:s3:::, so they cover buckets with the word in the name and also objects whose key contains it in any bucket (for example arn:aws:s3:::any-bucket/sagemaker/x). s3:GetBucketAcl and s3:PutObjectAcl use the three SageMaker spellings in the same way. s3:GetObject is also allowed on objects tagged SageMaker=true. iam:PassRole on role/* is allowed only when iam:PassedToService is sagemaker.amazonaws.com. iam:PassRole on roles with AmazonSageMaker in the name is allowed only for glue.amazonaws.com, robomaker.amazonaws.com and states.amazonaws.com.
Use cases
- Use Amazon SageMaker AI from the AWS Management Console and SDK, with select access to related services.
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
- The Amazon SageMaker AI Developer Guide says this policy allows all IAM roles to be passed to Amazon SageMaker AI, and only roles with AmazonSageMaker in the name to be passed to AWS Glue, AWS Step Functions and AWS RoboMaker. The IAM User Guide says a user must have permission to pass a role to an AWS service before the service can be configured with that role.
- The guide says the policy does not provide unrestricted Amazon S3 access, but supports buckets and objects with specific sagemaker tags. The policy JSON allows s3:DeleteObject and s3:PutObject on the pattern arn:aws:s3:::*sagemaker* (and the SageMaker, Sagemaker and aws-glue variants). Because * also matches /, that covers buckets with the word in the name and objects with the word in the key in any bucket. It also allows s3:CreateBucket on all resources.
- The guide says the policy does not include permissions to create an Amazon SageMaker AI domain.
- 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 Amazon SageMaker AI Developer Guide says you can attach it to users in your account, and also says to use the most restricted policy that allows your use case. Where a narrower scope is needed, AWS recommends customer managed policies specific to your use cases.
Related policies
Same service
- AmazonAugmentedAIFullAccess
- AmazonAugmentedAIHumanLoopFullAccess
- AmazonAugmentedAIIntegratedAPIAccess
- AmazonBedrockMarketplaceAccess
- AmazonBraketFullAccess
- AmazonDataZoneSageMakerEnvironmentRolePermissionsBoundary
- AmazonDataZoneSageMakerManageAccessRolePolicy
- AmazonDataZoneSageMakerProvisioningRolePolicy
Same domain
Frequently asked questions
- When should I attach AmazonSageMakerFullAccess?
- The Amazon SageMaker AI Developer Guide says it grants full access to SageMaker AI and SageMaker AI geospatial resources, and recommends using the most restricted policy that allows your use case. Attach it to users, groups or roles that need that scope.
- What does AmazonSageMakerFullAccess grant?
- It allows sagemaker:* and sagemaker-geospatial:* (with separate handling for domains, user profiles, apps, spaces and similar resources), related access to other services, S3 object actions on resource patterns containing SageMaker, Sagemaker, sagemaker or aws-glue (which also match objects in any bucket whose key contains the word), and iam:PassRole to SageMaker and, for roles with AmazonSageMaker in the name, to Glue, Step Functions and RoboMaker.
- What are the security risks of AmazonSageMakerFullAccess?
- It allows passing all IAM roles to SageMaker AI and deleting any S3 object whose ARN contains sagemaker, SageMaker, Sagemaker or aws-glue, including objects in other buckets with the word in the key. AWS says it grants full access to SageMaker AI resources and does not include permissions to create a domain. AWS managed policies do not grant least privilege permissions, and an AWS update to the policy affects every identity it is attached to.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAllNonAdminSageMakerActions",
"Effect": "Allow",
"Action": [
"sagemaker:*",
"sagemaker-geospatial:*"
],
"NotResource": [
"arn:aws:sagemaker:*:*:domain/*",
"arn:aws:sagemaker:*:*:user-profile/*",
"arn:aws:sagemaker:*:*:app/*",
"arn:aws:sagemaker:*:*:space/*",
"arn:aws:sagemaker:*:*:partner-app/*",
"arn:aws:sagemaker:*:*:flow-definition/*",
"arn:aws:sagemaker:*:*:training-plan/*",
"arn:aws:sagemaker:*:*:reserved-capacity/*"
]
},
{
"Sid": "AllowAddTagsForSpace",
"Effect": "Allow",
"Action": [
"sagemaker:AddTags"
],
"Resource": [
"arn:aws:sagemaker:*:*:space/*"
],
"Condition": {
"StringEquals": {
"sagemaker:TaggingAction": "CreateSpace"
}
}
},
{
"Sid": "AllowAddTagsForApp",
"Effect": "Allow",
"Action": [
"sagemaker:AddTags"
],
"Resource": [
"arn:aws:sagemaker:*:*:app/*"
]
},
{
"Sid": "AllowUseOfTrainingPlanResources",
"Effect": "Allow",
"Action": [
"sagemaker:CreateTrainingJob",
"sagemaker:CreateCluster",
"sagemaker:UpdateCluster",
"sagemaker:DescribeTrainingPlan"
],
"Resource": [
"arn:aws:sagemaker:*:*:training-plan/*",
"arn:aws:sagemaker:*:*:reserved-capacity/*"
]
},
{
"Sid": "AllowStudioActions",
"Effect": "Allow",
"Action": [
"sagemaker:CreatePresignedDomainUrl",
"sagemaker:DescribeDomain",
"sagemaker:ListDomains",
"sagemaker:DescribeUserProfile",
"sagemaker:ListUserProfiles",
"sagemaker:DescribeSpace",
"sagemaker:ListSpaces",
"sagemaker:DescribeApp",
"sagemaker:ListApps"
],
"Resource": "*"
},
{
"Sid": "AllowAppActionsForUserProfile",
"Effect": "Allow",
"Action": [
"sagemaker:CreateApp",
"sagemaker:DeleteApp"
],
"Resource": "arn:aws:sagemaker:*:*:app/*/*/*/*",
"Condition": {
"Null": {
"sagemaker:OwnerUserProfileArn": "true"
}
}
},
{
"Sid": "AllowAppActionsForSharedSpaces",
"Effect": "Allow",
"Action": [
"sagemaker:CreateApp",
"sagemaker:DeleteApp"
],
"Resource": "arn:aws:sagemaker:*:*:app/${sagemaker:DomainId}/*/*/*",
"Condition": {
"StringEquals": {
"sagemaker:SpaceSharingType": [
"Shared"
]
}
}
},
{
"Sid": "AllowMutatingActionsOnSharedSpacesWithoutOwner",
"Effect": "Allow",
"Action": [
"sagemaker:CreateSpace",
"sagemaker:UpdateSpace",
"sagemaker:DeleteSpace"
],
"Resource": "arn:aws:sagemaker:*:*:space/${sagemaker:DomainId}/*",
"Condition": {
"Null": {
"sagemaker:OwnerUserProfileArn": "true"
}
}
},
{
"Sid": "RestrictMutatingActionsOnSpacesToOwnerUserProfile",
"Effect": "Allow",
"Action": [
"sagemaker:CreateSpace",
"sagemaker:UpdateSpace",
"sagemaker:DeleteSpace"
],
"Resource": "arn:aws:sagemaker:*:*:space/${sagemaker:DomainId}/*",
"Condition": {
"ArnLike": {
"sagemaker:OwnerUserProfileArn": "arn:aws:sagemaker:*:*:user-profile/${sagemaker:DomainId}/${sagemaker:UserProfileName}"
},
"StringEquals": {
"sagemaker:SpaceSharingType": [
"Private",
"Shared"
]
}
}
},
{
"Sid": "RestrictMutatingActionsOnPrivateSpaceAppsToOwnerUserProfile",
"Effect": "Allow",
"Action": [
"sagemaker:CreateApp",
"sagemaker:DeleteApp"
],
"Resource": "arn:aws:sagemaker:*:*:app/${sagemaker:DomainId}/*/*/*",
"Condition": {
"ArnLike": {
"sagemaker:OwnerUserProfileArn": "arn:aws:sagemaker:*:*:user-profile/${sagemaker:DomainId}/${sagemaker:UserProfileName}"
},
"StringEquals": {
"sagemaker:SpaceSharingType": [
"Private"
]
}
}
},
{
"Sid": "AllowFlowDefinitionActions",
"Effect": "Allow",
"Action": "sagemaker:*",
"Resource": [
"arn:aws:sagemaker:*:*:flow-definition/*"
],
"Condition": {
"StringEqualsIfExists": {
"sagemaker:WorkteamType": [
"private-crowd",
"vendor-crowd"
]
}
}
},
{
"Sid": "AllowAWSServiceActions",
"Effect": "Allow",
"Action": [
"application-autoscaling:DeleteScalingPolicy",
"application-autoscaling:DeleteScheduledAction",
"application-autoscaling:DeregisterScalableTarget",
"application-autoscaling:DescribeScalableTargets",
"application-autoscaling:DescribeScalingActivities",
"application-autoscaling:DescribeScalingPolicies",
"application-autoscaling:DescribeScheduledActions",
"application-autoscaling:PutScalingPolicy",
"application-autoscaling:PutScheduledAction",
"application-autoscaling:RegisterScalableTarget",
"aws-marketplace:ViewSubscriptions",
"cloudformation:GetTemplateSummary",
"cloudwatch:DeleteAlarms",
"cloudwatch:DescribeAlarms",
"cloudwatch:GetMetricData",
"cloudwatch:GetMetricStatistics",
"cloudwatch:ListMetrics",
"cloudwatch:PutMetricAlarm",
"cloudwatch:PutMetricData",
"codecommit:BatchGetRepositories",
"codecommit:CreateRepository",
"codecommit:GetRepository",
"codecommit:List*",
"cognito-idp:AdminAddUserToGroup",
"cognito-idp:AdminCreateUser",
"cognito-idp:AdminDeleteUser",
"cognito-idp:AdminDisableUser",
"cognito-idp:AdminEnableUser",
"cognito-idp:AdminRemoveUserFromGroup",
"cognito-idp:CreateGroup",
"cognito-idp:CreateUserPool",
"cognito-idp:CreateUserPoolClient",
"cognito-idp:CreateUserPoolDomain",
"cognito-idp:DescribeUserPool",
"cognito-idp:DescribeUserPoolClient",
"cognito-idp:List*",
"cognito-idp:UpdateUserPool",
"cognito-idp:UpdateUserPoolClient",
"ec2:CreateNetworkInterface",
"ec2:CreateNetworkInterfacePermission",
"ec2:CreateVpcEndpoint",
"ec2:DeleteNetworkInterface",
"ec2:DeleteNetworkInterfacePermission",
"ec2:DescribeDhcpOptions",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeRouteTables",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcEndpoints",
"ec2:DescribeVpcs",
"ecr:BatchCheckLayerAvailability",
"ecr:BatchGetImage",
"ecr:CreateRepository",
"ecr:Describe*",
"ecr:GetAuthorizationToken",
"ecr:GetDownloadUrlForLayer",
"ecr:StartImageScan",
"elastic-inference:Connect",
"elasticfilesystem:DescribeFileSystems",
"elasticfilesystem:DescribeMountTargets",
"fsx:DescribeFileSystems",
"glue:CreateJob",
"glue:DeleteJob",
"glue:GetJob*",
"glue:GetTable*",
"glue:GetWorkflowRun",
"glue:ResetJobBookmark",
"glue:StartJobRun",
"glue:StartWorkflowRun",
"glue:UpdateJob",
"groundtruthlabeling:*",
"iam:ListRoles",
"kms:DescribeKey",
"kms:ListAliases",
"lambda:ListFunctions",
"logs:CreateLogDelivery",
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:DeleteLogDelivery",
"logs:Describe*",
"logs:GetLogDelivery",
"logs:GetLogEvents",
"logs:ListLogDeliveries",
"logs:PutLogEvents",
"logs:PutResourcePolicy",
"logs:UpdateLogDelivery",
"robomaker:CreateSimulationApplication",
"robomaker:DescribeSimulationApplication",
"robomaker:DeleteSimulationApplication",
"robomaker:CreateSimulationJob",
"robomaker:DescribeSimulationJob",
"robomaker:CancelSimulationJob",
"secretsmanager:ListSecrets",
"servicecatalog:Describe*",
"servicecatalog:List*",
"servicecatalog:ScanProvisionedProducts",
"servicecatalog:SearchProducts",
"servicecatalog:SearchProvisionedProducts",
"sns:ListTopics",
"tag:GetResources"
],
"Resource": "*"
},
{
"Sid": "AllowECRActions",
"Effect": "Allow",
"Action": [
"ecr:SetRepositoryPolicy",
"ecr:CompleteLayerUpload",
"ecr:BatchDeleteImage",
"ecr:UploadLayerPart",
"ecr:DeleteRepositoryPolicy",
"ecr:InitiateLayerUpload",
"ecr:DeleteRepository",
"ecr:PutImage"
],
"Resource": [
"arn:aws:ecr:*:*:repository/*sagemaker*"
]
},
{
"Sid": "AllowCodeCommitActions",
"Effect": "Allow",
"Action": [
"codecommit:GitPull",
"codecommit:GitPush"
],
"Resource": [
"arn:aws:codecommit:*:*:*sagemaker*",
"arn:aws:codecommit:*:*:*SageMaker*",
"arn:aws:codecommit:*:*:*Sagemaker*"
]
},
{
"Sid": "AllowCodeBuildActions",
"Action": [
"codebuild:BatchGetBuilds",
"codebuild:StartBuild"
],
"Resource": [
"arn:aws:codebuild:*:*:project/sagemaker*",
"arn:aws:codebuild:*:*:build/*"
],
"Effect": "Allow"
},
{
"Sid": "AllowStepFunctionsActions",
"Action": [
"states:DescribeExecution",
"states:GetExecutionHistory",
"states:StartExecution",
"states:StopExecution",
"states:UpdateStateMachine"
],
"Resource": [
"arn:aws:states:*:*:statemachine:*sagemaker*",
"arn:aws:states:*:*:execution:*sagemaker*:*"
],
"Effect": "Allow"
},
{
"Sid": "AllowSecretManagerActions",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:GetSecretValue",
"secretsmanager:CreateSecret"
],
"Resource": [
"arn:aws:secretsmanager:*:*:secret:AmazonSageMaker-*"
]
},
{
"Sid": "AllowReadOnlySecretManagerActions",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:GetSecretValue"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"secretsmanager:ResourceTag/SageMaker": "true"
}
}
},
{
"Sid": "AllowServiceCatalogProvisionProduct",
"Effect": "Allow",
"Action": [
"servicecatalog:ProvisionProduct"
],
"Resource": "*"
},
{
"Sid": "AllowServiceCatalogTerminateUpdateProvisionProduct",
"Effect": "Allow",
"Action": [
"servicecatalog:TerminateProvisionedProduct",
"servicecatalog:UpdateProvisionedProduct"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"servicecatalog:userLevel": "self"
}
}
},
{
"Sid": "AllowS3ObjectActions",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:AbortMultipartUpload"
],
"Resource": [
"arn:aws:s3:::*SageMaker*",
"arn:aws:s3:::*Sagemaker*",
"arn:aws:s3:::*sagemaker*",
"arn:aws:s3:::*aws-glue*"
]
},
{
"Sid": "AllowS3GetObjectWithSageMakerExistingObjectTag",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::*"
],
"Condition": {
"StringEqualsIgnoreCase": {
"s3:ExistingObjectTag/SageMaker": "true"
}
}
},
{
"Sid": "AllowS3GetObjectWithServiceCatalogProvisioningExistingObjectTag",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::*"
],
"Condition": {
"StringEquals": {
"s3:ExistingObjectTag/servicecatalog:provisioning": "true"
}
}
},
{
"Sid": "AllowS3BucketActions",
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:GetBucketLocation",
"s3:ListBucket",
"s3:ListAllMyBuckets",
"s3:GetBucketCors",
"s3:PutBucketCors"
],
"Resource": "*"
},
{
"Sid": "AllowS3BucketACL",
"Effect": "Allow",
"Action": [
"s3:GetBucketAcl",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::*SageMaker*",
"arn:aws:s3:::*Sagemaker*",
"arn:aws:s3:::*sagemaker*"
]
},
{
"Sid": "AllowLambdaInvokeFunction",
"Effect": "Allow",
"Action": [
"lambda:InvokeFunction"
],
"Resource": [
"arn:aws:lambda:*:*:function:*SageMaker*",
"arn:aws:lambda:*:*:function:*sagemaker*",
"arn:aws:lambda:*:*:function:*Sagemaker*",
"arn:aws:lambda:*:*:function:*LabelingFunction*"
]
},
{
"Sid": "AllowCreateServiceLinkedRoleForSageMakerApplicationAutoscaling",
"Action": "iam:CreateServiceLinkedRole",
"Effect": "Allow",
"Resource": "arn:aws:iam::*:role/aws-service-role/sagemaker.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_SageMakerEndpoint",
"Condition": {
"StringLike": {
"iam:AWSServiceName": "sagemaker.application-autoscaling.amazonaws.com"
}
}
},
{
"Sid": "AllowCreateServiceLinkedRoleForRobomaker",
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "*",
"Condition": {
"StringEquals": {
"iam:AWSServiceName": "robomaker.amazonaws.com"
}
}
},
{
"Sid": "AllowSNSActions",
"Effect": "Allow",
"Action": [
"sns:Subscribe",
"sns:CreateTopic",
"sns:Publish"
],
"Resource": [
"arn:aws:sns:*:*:*SageMaker*",
"arn:aws:sns:*:*:*Sagemaker*",
"arn:aws:sns:*:*:*sagemaker*"
]
},
{
"Sid": "AllowPassRoleForSageMakerRoles",
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "arn:aws:iam::*:role/*AmazonSageMaker*",
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"glue.amazonaws.com",
"robomaker.amazonaws.com",
"states.amazonaws.com"
]
}
}
},
{
"Sid": "AllowPassRoleToSageMaker",
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "arn:aws:iam::*:role/*",
"Condition": {
"StringEquals": {
"iam:PassedToService": "sagemaker.amazonaws.com"
}
}
},
{
"Sid": "AllowAthenaActions",
"Effect": "Allow",
"Action": [
"athena:ListDataCatalogs",
"athena:ListDatabases",
"athena:ListTableMetadata",
"athena:GetQueryExecution",
"athena:GetQueryResults",
"athena:StartQueryExecution",
"athena:StopQueryExecution"
],
"Resource": [
"*"
]
},
{
"Sid": "AllowGlueCreateTable",
"Effect": "Allow",
"Action": [
"glue:CreateTable"
],
"Resource": [
"arn:aws:glue:*:*:table/*/sagemaker_tmp_*",
"arn:aws:glue:*:*:table/sagemaker_featurestore/*",
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:database/*"
]
},
{
"Sid": "AllowGlueUpdateTable",
"Effect": "Allow",
"Action": [
"glue:UpdateTable"
],
"Resource": [
"arn:aws:glue:*:*:table/sagemaker_featurestore/*",
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:database/sagemaker_featurestore"
]
},
{
"Sid": "AllowGlueDeleteTable",
"Effect": "Allow",
"Action": [
"glue:DeleteTable"
],
"Resource": [
"arn:aws:glue:*:*:table/*/sagemaker_tmp_*",
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:database/*"
]
},
{
"Sid": "AllowGlueGetTablesAndDatabases",
"Effect": "Allow",
"Action": [
"glue:GetDatabases",
"glue:GetTable",
"glue:GetTables"
],
"Resource": [
"arn:aws:glue:*:*:table/*",
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:database/*"
]
},
{
"Sid": "AllowGlueGetAndCreateDatabase",
"Effect": "Allow",
"Action": [
"glue:CreateDatabase",
"glue:GetDatabase"
],
"Resource": [
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:database/sagemaker_featurestore",
"arn:aws:glue:*:*:database/sagemaker_processing",
"arn:aws:glue:*:*:database/default",
"arn:aws:glue:*:*:database/sagemaker_data_wrangler"
]
},
{
"Sid": "AllowRedshiftDataActions",
"Effect": "Allow",
"Action": [
"redshift-data:ExecuteStatement",
"redshift-data:DescribeStatement",
"redshift-data:CancelStatement",
"redshift-data:GetStatementResult",
"redshift-data:ListSchemas",
"redshift-data:ListTables"
],
"Resource": [
"*"
]
},
{
"Sid": "AllowRedshiftGetClusterCredentials",
"Effect": "Allow",
"Action": [
"redshift:GetClusterCredentials"
],
"Resource": [
"arn:aws:redshift:*:*:dbuser:*/sagemaker_access*",
"arn:aws:redshift:*:*:dbname:*"
]
},
{
"Sid": "AllowListTagsForUserProfile",
"Effect": "Allow",
"Action": [
"sagemaker:ListTags"
],
"Resource": [
"arn:aws:sagemaker:*:*:user-profile/*"
]
},
{
"Sid": "AllowCloudformationListStackResources",
"Effect": "Allow",
"Action": [
"cloudformation:ListStackResources"
],
"Resource": "arn:aws:cloudformation:*:*:stack/SC-*"
},
{
"Sid": "AllowS3ExpressObjectActions",
"Effect": "Allow",
"Action": [
"s3express:CreateSession"
],
"Resource": [
"arn:aws:s3express:*:*:bucket/*SageMaker*",
"arn:aws:s3express:*:*:bucket/*Sagemaker*",
"arn:aws:s3express:*:*:bucket/*sagemaker*",
"arn:aws:s3express:*:*:bucket/*aws-glue*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "AllowS3ExpressCreateBucketActions",
"Effect": "Allow",
"Action": [
"s3express:CreateBucket"
],
"Resource": [
"arn:aws:s3express:*:*:bucket/*SageMaker*",
"arn:aws:s3express:*:*:bucket/*Sagemaker*",
"arn:aws:s3express:*:*:bucket/*sagemaker*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "AllowS3ExpressListBucketActions",
"Effect": "Allow",
"Action": [
"s3express:ListAllMyDirectoryBuckets"
],
"Resource": "*"
}
]
}
Version history
Current version v29, edited by AWS on 2026-02-12. 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/AmazonSageMakerFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerFullAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonSageMakerFullAccessTerraform
resource "aws_iam_role_policy_attachment" "amazonsagemakerfullaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonSageMakerFullAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonSageMakerFullAccess"),
);Sources
- AmazonSageMakerFullAccess (AWS Managed Policy Reference Guide) (retrieved ; supports summary, practicalScope, useCases, securityConsiderations, assignmentGuidance, faqs)
- AWS managed policies for Amazon SageMaker AI (Amazon SageMaker AI Developer Guide) (retrieved ; supports summary, practicalScope, securityConsiderations, assignmentGuidance, faqs, useCases)
- AWS managed policies for job functions (IAM User Guide) (retrieved ; supports bestPractices, faqs)
- Managed policies and inline policies (IAM User Guide) (retrieved ; supports securityConsiderations, faqs)
- Grant a user permissions to pass a role to an AWS service (IAM User Guide) (retrieved ; supports securityConsiderations)