AmazonSageMakerCanvasDataPrepFullAccess
Summary
Provides full access to Amazon SageMaker resources and operations for data preparation in Canvas. The policy also provides select access to related services (e.g., S3, IAM, KMS, RDS, CloudWatch Logs, Redshift, Athena, Glue, EventBridge, Secrets Manager). This policy should be attached to the Amazon SageMaker Domain/User Profile execution role.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonSageMakerCanvasDataPrepFullAccess- Default version
- v4
- Created
- Last edited
- Services
- athena, elasticmapreduce, emr-serverless, events, glue, iam, kms, logs, rds, redshift, redshift-data, s3, sagemaker, secretsmanager
Control-plane actions (64)
By access level: 14 List, 25 Read, 3 Tagging, 22 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Athena | 7 of 86 | 2 List, 3 Read, 2 Write; 6 restricted, 0 conditional | athena:GetQueryExecution, athena:GetQueryResults, athena:ListDataCatalogs, athena:ListDatabases, athena:ListTableMetadata, athena:StartQueryExecution, athena:StopQueryExecution |
| EMR | 3 of 88 | 1 List, 2 Read; 2 restricted, 0 conditional | elasticmapreduce:DescribeCluster, elasticmapreduce:ListClusters, elasticmapreduce:ListInstanceGroups |
| EMR Serverless | 9 of 25 | 2 List, 2 Read, 1 Tagging, 4 Write; 9 restricted, 9 conditional | emr-serverless:CancelJobRun, emr-serverless:CreateApplication, emr-serverless:GetApplication, emr-serverless:GetJobRun, emr-serverless:ListApplications, emr-serverless:ListJobRuns, emr-serverless:StartJobRun, emr-serverless:TagResource, emr-serverless:UpdateApplication |
| EventBridge | 5 of 71 | 1 List, 1 Read, 1 Tagging, 2 Write; 4 restricted, 4 conditional | events:DescribeRule, events:ListTagsForResource, events:PutRule, events:PutTargets, events:TagResource |
| Glue | 4 of 306 | 4 Read; 4 restricted, 0 conditional | glue:GetDatabases, glue:GetTable, glue:GetTables, glue:SearchTables |
| IAM | 3 of 190 | 1 List, 1 Read, 1 Write; 2 restricted, 1 conditional | iam:GetRole, iam:ListRoles, iam:PassRole |
| KMS | 2 of 58 | 1 List, 1 Read; 1 restricted, 0 conditional | kms:DescribeKey, kms:ListAliases |
| CloudWatch Logs | 3 of 133 | 3 Write; 3 restricted, 0 conditional | logs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents |
| RDS | 1 of 173 | 1 List; 0 restricted, 0 conditional | rds:DescribeDBInstances |
| Redshift | 1 of 167 | 1 Write; 1 restricted, 0 conditional | redshift:GetClusterCredentials |
| Redshift Data API | 6 of 12 | 1 List, 3 Read, 2 Write; 3 restricted, 0 conditional | redshift-data:CancelStatement, redshift-data:DescribeStatement, redshift-data:ExecuteStatement, redshift-data:GetStatementResult, redshift-data:ListSchemas, redshift-data:ListTables |
| S3 | 3 of 155 | 1 List, 2 Read; 2 restricted, 2 conditional | s3:GetBucketCors, s3:GetBucketLocation, s3:ListAllMyBuckets |
| SageMaker | 14 of 441 | 3 List, 4 Read, 1 Tagging, 6 Write; 12 restricted, 0 conditional | sagemaker:AddTags, sagemaker:CreateFeatureGroup, sagemaker:CreatePipeline, sagemaker:CreateProcessingJob, sagemaker:DeletePipeline, sagemaker:DescribeFeatureGroup, sagemaker:DescribePipeline, sagemaker:DescribePipelineExecution, sagemaker:DescribeProcessingJob, sagemaker:ListFeatureGroups, sagemaker:ListPipelineExecutionSteps, sagemaker:ListProcessingJobs and 2 more |
| Secrets Manager | 3 of 27 | 2 Read, 1 Write; 3 restricted, 2 conditional | secretsmanager:CreateSecret, secretsmanager:DescribeSecret, secretsmanager:GetSecretValue |
Athena: 7 actions
- athena:GetQueryExecution (Read)
- athena:GetQueryResults (Read)
- athena:ListDataCatalogs (List)
- athena:ListDatabases (List)
- athena:ListTableMetadata (Read)
- athena:StartQueryExecution (Write)
- athena:StopQueryExecution (Write)
EMR: 3 actions
- elasticmapreduce:DescribeCluster (Read)
- elasticmapreduce:ListClusters (List)
- elasticmapreduce:ListInstanceGroups (Read)
EMR Serverless: 9 actions
- emr-serverless:CancelJobRun (Write)
- emr-serverless:CreateApplication (Write)
- emr-serverless:GetApplication (Read)
- emr-serverless:GetJobRun (Read)
- emr-serverless:ListApplications (List)
- emr-serverless:ListJobRuns (List)
- emr-serverless:StartJobRun (Write)
- emr-serverless:TagResource (Tagging)
- emr-serverless:UpdateApplication (Write)
EventBridge: 5 actions
- events:DescribeRule (Read)
- events:ListTagsForResource (List)
- events:PutRule (Write)
- events:PutTargets (Write)
- events:TagResource (Tagging)
Glue: 4 actions
- glue:GetDatabases (Read)
- glue:GetTable (Read)
- glue:GetTables (Read)
- glue:SearchTables (Read)
IAM: 3 actions
- iam:GetRole (Read)
- iam:ListRoles (List)
- iam:PassRole (Write)
KMS: 2 actions
- kms:DescribeKey (Read)
- kms:ListAliases (List)
CloudWatch Logs: 3 actions
- logs:CreateLogGroup (Write)
- logs:CreateLogStream (Write)
- logs:PutLogEvents (Write)
RDS: 1 actions
- rds:DescribeDBInstances (List)
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)
S3: 3 actions
- s3:GetBucketCORS (Read)
- s3:GetBucketLocation (Read)
- s3:ListAllMyBuckets (List)
SageMaker: 14 actions
- sagemaker:AddTags (Tagging)
- sagemaker:CreateFeatureGroup (Write)
- sagemaker:CreatePipeline (Write)
- sagemaker:CreateProcessingJob (Write)
- sagemaker:DeletePipeline (Write)
- sagemaker:DescribeFeatureGroup (Read)
- sagemaker:DescribePipeline (Read)
- sagemaker:DescribePipelineExecution (Read)
- sagemaker:DescribeProcessingJob (Read)
- sagemaker:ListFeatureGroups (List)
- sagemaker:ListPipelineExecutionSteps (List)
- sagemaker:ListProcessingJobs (List)
- sagemaker:StartPipelineExecution (Write)
- sagemaker:UpdatePipeline (Write)
Secrets Manager: 3 actions
- secretsmanager:CreateSecret (Write)
- secretsmanager:DescribeSecret (Read)
- secretsmanager:GetSecretValue (Read)
Data-plane actions (5)
By access level: 1 List, 1 Read, 3 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| S3 | 5 of 25 | 1 List, 1 Read, 3 Write; 4 restricted, 4 conditional | s3:AbortMultipartUpload, s3:DeleteObject, s3:GetObject, s3:ListBucket, s3:PutObject |
S3: 5 actions
- s3:AbortMultipartUpload (Write)
- s3:DeleteObject (Write)
- 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 27 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.
- Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).
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.
Related policies
Same service
- AccessAnalyzerServiceRolePolicy
- AdministratorAccess-AWSElasticBeanstalk
- AmazonAppFlowFullAccess
- AmazonAppStreamServiceAccess
- AmazonAthenaFullAccess
- AmazonAugmentedAIFullAccess
- AmazonAugmentedAIHumanLoopFullAccess
- AmazonAugmentedAIIntegratedAPIAccess
Same domain
- AmazonChimeSDKMediaPipelinesServiceLinkedRolePolicy
- AmazonChimeSDKMessagingServiceRolePolicy
- AmazonDataZoneDomainExecutionRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneFullAccess
- AmazonDataZoneFullUserAccess
- AmazonDataZoneGlueManageAccessRolePolicy
- AmazonDataZoneProjectRolePermissionsBoundary
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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "SageMakerListFeatureGroupOperation",
"Effect": "Allow",
"Action": "sagemaker:ListFeatureGroups",
"Resource": "*"
},
{
"Sid": "SageMakerFeatureGroupOperations",
"Effect": "Allow",
"Action": [
"sagemaker:CreateFeatureGroup",
"sagemaker:DescribeFeatureGroup"
],
"Resource": "arn:aws:sagemaker:*:*:feature-group/*"
},
{
"Sid": "SageMakerProcessingJobOperations",
"Effect": "Allow",
"Action": [
"sagemaker:CreateProcessingJob",
"sagemaker:DescribeProcessingJob",
"sagemaker:AddTags"
],
"Resource": "arn:aws:sagemaker:*:*:processing-job/*canvas-data-prep*"
},
{
"Sid": "SageMakerProcessingJobListOperation",
"Effect": "Allow",
"Action": "sagemaker:ListProcessingJobs",
"Resource": "*"
},
{
"Sid": "SageMakerPipelineOperations",
"Effect": "Allow",
"Action": [
"sagemaker:DescribePipeline",
"sagemaker:CreatePipeline",
"sagemaker:UpdatePipeline",
"sagemaker:DeletePipeline",
"sagemaker:StartPipelineExecution",
"sagemaker:ListPipelineExecutionSteps",
"sagemaker:DescribePipelineExecution"
],
"Resource": "arn:aws:sagemaker:*:*:pipeline/*canvas-data-prep*"
},
{
"Sid": "KMSListOperations",
"Effect": "Allow",
"Action": "kms:ListAliases",
"Resource": "*"
},
{
"Sid": "KMSOperations",
"Effect": "Allow",
"Action": "kms:DescribeKey",
"Resource": "arn:aws:kms:*:*:key/*"
},
{
"Sid": "S3Operations",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:GetBucketCors",
"s3:GetBucketLocation",
"s3:AbortMultipartUpload"
],
"Resource": [
"arn:aws:s3:::*SageMaker*",
"arn:aws:s3:::*Sagemaker*",
"arn:aws:s3:::*sagemaker*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "S3GetObjectOperation",
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::*",
"Condition": {
"StringEqualsIgnoreCase": {
"s3:ExistingObjectTag/SageMaker": "true"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "S3ListOperations",
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:ListAllMyBuckets"
],
"Resource": "*"
},
{
"Sid": "IAMListOperations",
"Effect": "Allow",
"Action": "iam:ListRoles",
"Resource": "*"
},
{
"Sid": "IAMGetOperations",
"Effect": "Allow",
"Action": "iam:GetRole",
"Resource": "arn:aws:iam::*:role/*"
},
{
"Sid": "IAMPassOperation",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::*:role/*",
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"sagemaker.amazonaws.com",
"events.amazonaws.com"
]
}
}
},
{
"Sid": "EventBridgePutOperation",
"Effect": "Allow",
"Action": [
"events:PutRule"
],
"Resource": "arn:aws:events:*:*:rule/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker:is-canvas-data-prep-job": "true"
}
}
},
{
"Sid": "EventBridgeOperations",
"Effect": "Allow",
"Action": [
"events:DescribeRule",
"events:PutTargets"
],
"Resource": "arn:aws:events:*:*:rule/*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/sagemaker:is-canvas-data-prep-job": "true"
}
}
},
{
"Sid": "EventBridgeTagBasedOperations",
"Effect": "Allow",
"Action": [
"events:TagResource"
],
"Resource": "arn:aws:events:*:*:rule/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker:is-canvas-data-prep-job": "true",
"aws:ResourceTag/sagemaker:is-canvas-data-prep-job": "true"
}
}
},
{
"Sid": "EventBridgeListTagOperation",
"Effect": "Allow",
"Action": "events:ListTagsForResource",
"Resource": "*"
},
{
"Sid": "GlueOperations",
"Effect": "Allow",
"Action": [
"glue:GetDatabases",
"glue:GetTable",
"glue:GetTables",
"glue:SearchTables"
],
"Resource": [
"arn:aws:glue:*:*:table/*",
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:database/*"
]
},
{
"Sid": "EMROperations",
"Effect": "Allow",
"Action": [
"elasticmapreduce:DescribeCluster",
"elasticmapreduce:ListInstanceGroups"
],
"Resource": "arn:aws:elasticmapreduce:*:*:cluster/*"
},
{
"Sid": "EMRListOperation",
"Effect": "Allow",
"Action": "elasticmapreduce:ListClusters",
"Resource": "*"
},
{
"Sid": "AthenaListDataCatalogOperation",
"Effect": "Allow",
"Action": "athena:ListDataCatalogs",
"Resource": "*"
},
{
"Sid": "AthenaQueryExecutionOperations",
"Effect": "Allow",
"Action": [
"athena:GetQueryExecution",
"athena:GetQueryResults",
"athena:StartQueryExecution",
"athena:StopQueryExecution"
],
"Resource": "arn:aws:athena:*:*:workgroup/*"
},
{
"Sid": "AthenaDataCatalogOperations",
"Effect": "Allow",
"Action": [
"athena:ListDatabases",
"athena:ListTableMetadata"
],
"Resource": "arn:aws:athena:*:*:datacatalog/*"
},
{
"Sid": "RedshiftOperations",
"Effect": "Allow",
"Action": [
"redshift-data:DescribeStatement",
"redshift-data:CancelStatement",
"redshift-data:GetStatementResult"
],
"Resource": "*"
},
{
"Sid": "RedshiftArnBasedOperations",
"Effect": "Allow",
"Action": [
"redshift-data:ExecuteStatement",
"redshift-data:ListSchemas",
"redshift-data:ListTables"
],
"Resource": "arn:aws:redshift:*:*:cluster:*"
},
{
"Sid": "RedshiftGetCredentialsOperation",
"Effect": "Allow",
"Action": "redshift:GetClusterCredentials",
"Resource": [
"arn:aws:redshift:*:*:dbuser:*/sagemaker_access*",
"arn:aws:redshift:*:*:dbname:*"
]
},
{
"Sid": "SecretsManagerARNBasedOperation",
"Effect": "Allow",
"Action": "secretsmanager:CreateSecret",
"Resource": "arn:aws:secretsmanager:*:*:secret:AmazonSageMaker-*"
},
{
"Sid": "SecretManagerTagBasedOperation",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:GetSecretValue"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:AmazonSageMaker-*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/SageMaker": "true",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RDSOperation",
"Effect": "Allow",
"Action": "rds:DescribeDBInstances",
"Resource": "*"
},
{
"Sid": "LoggingOperation",
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:log-group:/aws/sagemaker/studio:*"
},
{
"Sid": "EMRServerlessCreateApplicationOperation",
"Effect": "Allow",
"Action": "emr-serverless:CreateApplication",
"Resource": "arn:aws:emr-serverless:*:*:/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker:is-canvas-resource": "True",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EMRServerlessListApplicationOperation",
"Effect": "Allow",
"Action": "emr-serverless:ListApplications",
"Resource": "arn:aws:emr-serverless:*:*:/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EMRServerlessApplicationOperations",
"Effect": "Allow",
"Action": [
"emr-serverless:UpdateApplication",
"emr-serverless:GetApplication"
],
"Resource": "arn:aws:emr-serverless:*:*:/applications/*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/sagemaker:is-canvas-resource": "True",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EMRServerlessStartJobRunOperation",
"Effect": "Allow",
"Action": "emr-serverless:StartJobRun",
"Resource": "arn:aws:emr-serverless:*:*:/applications/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker:is-canvas-resource": "True",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EMRServerlessListJobRunOperation",
"Effect": "Allow",
"Action": "emr-serverless:ListJobRuns",
"Resource": "arn:aws:emr-serverless:*:*:/applications/*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/sagemaker:is-canvas-resource": "True",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EMRServerlessJobRunOperations",
"Effect": "Allow",
"Action": [
"emr-serverless:GetJobRun",
"emr-serverless:CancelJobRun"
],
"Resource": "arn:aws:emr-serverless:*:*:/applications/*/jobruns/*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/sagemaker:is-canvas-resource": "True",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EMRServerlessTagResourceOperation",
"Effect": "Allow",
"Action": "emr-serverless:TagResource",
"Resource": "arn:aws:emr-serverless:*:*:/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/sagemaker:is-canvas-resource": "True",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "IAMPassOperationForEMRServerless",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/service-role/AmazonSageMakerCanvasEMRSExecutionAccess-*",
"arn:aws:iam::*:role/AmazonSageMakerCanvasEMRSExecutionAccess-*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": "emr-serverless.amazonaws.com",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
}
Version history
Current version v4, edited by AWS on 2024-08-16. 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/AmazonSageMakerCanvasDataPrepFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerCanvasDataPrepFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonSageMakerCanvasDataPrepFullAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonSageMakerCanvasDataPrepFullAccessTerraform
resource "aws_iam_role_policy_attachment" "amazonsagemakercanvasdataprepfullaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonSageMakerCanvasDataPrepFullAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonSageMakerCanvasDataPrepFullAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.