SageMakerStudioProjectProvisioningRolePolicy
Summary
Amazon SageMaker Studio uses this policy to provision and manage resources in your account.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/SageMakerStudioProjectProvisioningRolePolicy- Default version
- v84
- Created
- Last edited
- Services
- airflow, aoss, athena, bedrock, cloudformation, codecommit, datazone, ec2, ecr, eks, elasticmapreduce, emr-containers, emr-serverless, events, glue, iam, imagebuilder, kms, lakeformation, lambda, logs, neptune-graph, quicksight, redshift, redshift-data, redshift-serverless, s3, s3vectors, sagemaker, scheduler, secretsmanager, serverlessrepo, sso
Control-plane actions (425)
By access level: 37 List, 29 Permissions management, 105 Read, 39 Tagging, 215 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| MWAA | 6 of 12 | 1 Read, 2 Tagging, 3 Write; 5 restricted, 5 conditional | airflow:CreateEnvironment, airflow:DeleteEnvironment, airflow:GetEnvironment, airflow:TagResource, airflow:UntagResource, airflow:UpdateEnvironment |
| OpenSearch Serverless | 13 of 57 | 3 Read, 1 Tagging, 9 Write; 13 restricted, 13 conditional | aoss:BatchGetCollection, aoss:CreateAccessPolicy, aoss:CreateCollection, aoss:CreateSecurityPolicy, aoss:DeleteAccessPolicy, aoss:DeleteCollection, aoss:DeleteSecurityPolicy, aoss:GetAccessPolicy, aoss:GetSecurityPolicy, aoss:TagResource, aoss:UpdateAccessPolicy, aoss:UpdateCollection and 1 more |
| Athena | 10 of 86 | 2 Read, 2 Tagging, 6 Write; 10 restricted, 10 conditional | athena:CreateDataCatalog, athena:CreateWorkGroup, athena:DeleteDataCatalog, athena:DeleteWorkGroup, athena:GetDataCatalog, athena:GetWorkGroup, athena:TagResource, athena:UntagResource, athena:UpdateDataCatalog, athena:UpdateWorkGroup |
| Bedrock | 62 of 232 | 8 List, 13 Read, 2 Tagging, 39 Write; 61 restricted, 61 conditional | bedrock:AssociateAgentKnowledgeBase, bedrock:BatchDeleteEvaluationJob, bedrock:CreateAgent, bedrock:CreateAgentActionGroup, bedrock:CreateAgentAlias, bedrock:CreateDataSource, bedrock:CreateFlow, bedrock:CreateFlowAlias, bedrock:CreateFlowVersion, bedrock:CreateGuardrail, bedrock:CreateGuardrailVersion, bedrock:CreateKnowledgeBase and 50 more |
| CloudFormation | 10 of 104 | 1 List, 2 Read, 2 Tagging, 5 Write; 9 restricted, 7 conditional | cloudformation:CreateChangeSet, cloudformation:CreateStack, cloudformation:DeleteChangeSet, cloudformation:DeleteStack, cloudformation:DescribeStackEvents, cloudformation:DescribeStacks, cloudformation:TagResource, cloudformation:UntagResource, cloudformation:UpdateStack, cloudformation:ValidateTemplate |
| CodeCommit | 11 of 91 | 1 List, 3 Read, 2 Tagging, 5 Write; 10 restricted, 10 conditional | codecommit:CreateCommit, codecommit:CreateRepository, codecommit:DeleteRepository, codecommit:GetBranch, codecommit:GetFile, codecommit:GetRepository, codecommit:ListRepositories, codecommit:PutRepositoryTriggers, codecommit:TagResource, codecommit:UntagResource, codecommit:UpdateRepositoryEncryptionKey |
| DataZone | 12 of 278 | 3 Read, 9 Write; 0 restricted, 0 conditional | datazone:*Connection, datazone:*DataSource, datazone:*SubscriptionTarget |
| EC2 | 18 of 834 | 8 List, 2 Tagging, 8 Write; 11 restricted, 6 conditional | ec2:AuthorizeSecurityGroupEgress, ec2:AuthorizeSecurityGroupIngress, ec2:CreateNetworkInterface, ec2:CreateSecurityGroup, ec2:CreateTags, ec2:CreateVpcEndpoint, ec2:DeleteSecurityGroup, ec2:DeleteTags, ec2:DescribeAccountAttributes, ec2:DescribeAvailabilityZones, ec2:DescribeNatGateways, ec2:DescribeNetworkInterfaces and 6 more |
| Elastic Container Registry | 4 of 65 | 4 Read; 4 restricted, 4 conditional | ecr:BatchCheckLayerAvailability, ecr:BatchGetImage, ecr:GetAuthorizationToken, ecr:GetDownloadUrlForLayer |
| EKS | 7 of 74 | 1 List, 2 Read, 4 Write; 6 restricted, 6 conditional | eks:AssociateAccessPolicy, eks:CreateAccessEntry, eks:DeleteAccessEntry, eks:DescribeAccessEntry, eks:DescribeCluster, eks:DisassociateAccessPolicy, eks:ListAssociatedAccessPolicies |
| EMR | 13 of 88 | 4 Read, 2 Tagging, 7 Write; 10 restricted, 10 conditional | elasticmapreduce:AddJobFlowSteps, elasticmapreduce:AddTags, elasticmapreduce:CreateSecurityConfiguration, elasticmapreduce:DeleteSecurityConfiguration, elasticmapreduce:DescribeCluster, elasticmapreduce:DescribeJobFlows, elasticmapreduce:DescribeSecurityConfiguration, elasticmapreduce:ListInstanceFleets, elasticmapreduce:ModifyInstanceFleet, elasticmapreduce:RemoveTags, elasticmapreduce:RunJobFlow, elasticmapreduce:SetTerminationProtection and 1 more |
| EMR Containers | 10 of 25 | 3 Read, 1 Tagging, 6 Write; 10 restricted, 10 conditional | emr-containers:CreateManagedEndpoint, emr-containers:CreateSecurityConfiguration, emr-containers:CreateVirtualCluster, emr-containers:DeleteManagedEndpoint, emr-containers:DeleteSecurityConfiguration, emr-containers:DeleteVirtualCluster, emr-containers:DescribeManagedEndpoint, emr-containers:DescribeSecurityConfiguration, emr-containers:DescribeVirtualCluster, emr-containers:TagResource |
| EMR Serverless | 7 of 25 | 1 Read, 2 Tagging, 4 Write; 7 restricted, 7 conditional | emr-serverless:CreateApplication, emr-serverless:DeleteApplication, emr-serverless:GetApplication, emr-serverless:StopApplication, emr-serverless:TagResource, emr-serverless:UntagResource, emr-serverless:UpdateApplication |
| EventBridge | 6 of 71 | 6 Write; 6 restricted, 6 conditional | events:DeleteRule, events:DisableRule, events:EnableRule, events:PutRule, events:PutTargets, events:RemoveTargets |
| Glue | 25 of 306 | 2 Permissions management, 8 Read, 2 Tagging, 13 Write; 19 restricted, 18 conditional | glue:*GlueIdentityCenterConfiguration, glue:CreateCatalog, glue:CreateConnection, glue:CreateDatabase, glue:DeleteCatalog, glue:DeleteConnection, glue:DeleteDatabase, glue:DescribeConnectionType, glue:GetCatalog, glue:GetCatalogs, glue:GetConnection, glue:GetConnections and 10 more |
| IAM | 29 of 190 | 5 List, 9 Permissions management, 5 Read, 2 Tagging, 8 Write; 28 restricted, 11 conditional | iam:AddRoleToInstanceProfile, iam:AttachRolePolicy, iam:CreateInstanceProfile, iam:CreatePolicy, iam:CreatePolicyVersion, iam:CreateRole, iam:CreateServiceLinkedRole, iam:DeleteInstanceProfile, iam:DeletePolicy, iam:DeletePolicyVersion, iam:DeleteRole, iam:DeleteRolePolicy and 17 more |
| EC2 Image Builder | 2 of 77 | 2 Read; 2 restricted, 2 conditional | imagebuilder:GetComponent, imagebuilder:GetContainerRecipe |
| KMS | 7 of 58 | 1 Permissions management, 1 Read, 5 Write; 7 restricted, 7 conditional | kms:CreateGrant, kms:Decrypt, kms:DescribeKey, kms:Encrypt, kms:GenerateDataKey, kms:ReEncryptFrom, kms:ReEncryptTo |
| Lake Formation | 16 of 68 | 2 List, 5 Permissions management, 3 Read, 6 Write; 1 restricted, 1 conditional | lakeformation:*LakeFormationIdentityCenterConfiguration, lakeformation:BatchGrantPermissions, lakeformation:BatchRevokePermissions, lakeformation:DeregisterResource, lakeformation:DescribeResource, lakeformation:GetDataAccess, lakeformation:GetDataLakeSettings, lakeformation:GrantPermissions, lakeformation:ListPermissions, lakeformation:ListResources, lakeformation:PutDataLakeSettings, lakeformation:RegisterResource and 1 more |
| Lambda | 14 of 121 | 1 List, 2 Permissions management, 4 Read, 2 Tagging, 5 Write; 14 restricted, 14 conditional | lambda:AddPermission, lambda:CreateFunction, lambda:DeleteFunction, lambda:GetFunction, lambda:GetFunctionConfiguration, lambda:GetPolicy, lambda:ListTags, lambda:ListVersionsByFunction, lambda:PublishVersion, lambda:RemovePermission, lambda:TagResource, lambda:UntagResource and 2 more |
| CloudWatch Logs | 13 of 133 | 2 List, 1 Read, 2 Tagging, 8 Write; 12 restricted, 12 conditional | logs:AssociateKmsKey, logs:CreateLogGroup, logs:DeleteDataProtectionPolicy, logs:DeleteLogGroup, logs:DeleteRetentionPolicy, logs:DescribeLogGroups, logs:DisassociateKmsKey, logs:GetDataProtectionPolicy, logs:ListTagsForResource, logs:PutDataProtectionPolicy, logs:PutRetentionPolicy, logs:TagResource and 1 more |
| Neptune Analytics | 7 of 38 | 2 Read, 2 Tagging, 3 Write; 7 restricted, 7 conditional | neptune-graph:CreateGraph, neptune-graph:DeleteGraph, neptune-graph:GetGraph, neptune-graph:ListGraphs, neptune-graph:TagResource, neptune-graph:UntagResource, neptune-graph:UpdateGraph |
| QuickSight | 29 of 357 | 3 Permissions management, 14 Read, 2 Tagging, 10 Write; 29 restricted, 29 conditional | quicksight:CreateDataSource, quicksight:CreateFolder, quicksight:CreateFolderMembership, quicksight:CreateVPCConnection, quicksight:DeleteDataSource, quicksight:DeleteFolder, quicksight:DeleteVPCConnection, quicksight:DescribeAccountSubscription, quicksight:DescribeDashboard, quicksight:DescribeDashboardPermissions, quicksight:DescribeDataSet, quicksight:DescribeDataSource and 17 more |
| Redshift | 5 of 167 | 1 Permissions management, 3 Read, 1 Write; 2 restricted, 2 conditional | redshift:AssociateDataShareConsumer, redshift:AuthorizeDataShare, redshift:DescribeDataShares, redshift:DescribeDataSharesForConsumer, redshift:GetResourcePolicy |
| Redshift Data API | 3 of 12 | 2 Read, 1 Write; 1 restricted, 1 conditional | redshift-data:DescribeStatement, redshift-data:ExecuteStatement, redshift-data:GetStatementResult |
| Redshift Serverless | 15 of 69 | 4 List, 2 Read, 2 Tagging, 7 Write; 13 restricted, 13 conditional | redshift-serverless:CreateNamespace, redshift-serverless:CreateWorkgroup, redshift-serverless:DeleteNamespace, redshift-serverless:DeleteWorkgroup, redshift-serverless:GetCredentials, redshift-serverless:GetNamespace, redshift-serverless:GetWorkgroup, redshift-serverless:ListNamespaces, redshift-serverless:ListSnapshotCopyConfigurations, redshift-serverless:ListTagsForResource, redshift-serverless:ListWorkgroups, redshift-serverless:TagResource and 3 more |
| S3 | 14 of 155 | 4 Permissions management, 3 Read, 1 Tagging, 6 Write; 14 restricted, 6 conditional | s3:CreateAccessGrantsInstance, s3:CreateBucket, s3:DeleteBucket, s3:DeleteBucketPolicy, s3:GetAccessGrantsInstance, s3:GetBucketPolicy, s3:GetEncryptionConfiguration, s3:PutBucketCORS, s3:PutBucketPolicy, s3:PutBucketPublicAccessBlock, s3:PutBucketTagging, s3:PutBucketVersioning and 2 more |
| S3 Vectors | 8 of 21 | 2 List, 2 Read, 4 Write; 8 restricted, 8 conditional | s3vectors:CreateIndex, s3vectors:CreateVectorBucket, s3vectors:DeleteIndex, s3vectors:DeleteVectorBucket, s3vectors:GetIndex, s3vectors:GetVectorBucket, s3vectors:ListIndexes, s3vectors:ListVectorBuckets |
| SageMaker | 17 of 441 | 1 List, 3 Read, 2 Tagging, 11 Write; 15 restricted, 14 conditional | sagemaker:AddTags, sagemaker:CreateApp, sagemaker:CreateDomain, sagemaker:CreateMlflowApp, sagemaker:CreateMlflowTrackingServer, sagemaker:DeleteApp, sagemaker:DeleteDomain, sagemaker:DeleteMlflowApp, sagemaker:DeleteMlflowTrackingServer, sagemaker:DeleteSpace, sagemaker:DeleteTags, sagemaker:DeleteUserProfile and 5 more |
| EventBridge Scheduler | 7 of 13 | 2 Read, 2 Tagging, 3 Write; 7 restricted, 7 conditional | scheduler:CreateScheduleGroup, scheduler:DeleteSchedule, scheduler:DeleteScheduleGroup, scheduler:GetScheduleGroup, scheduler:ListTagsForResource, scheduler:TagResource, scheduler:UntagResource |
| Secrets Manager | 13 of 27 | 2 Permissions management, 4 Read, 2 Tagging, 5 Write; 12 restricted, 12 conditional | secretsmanager:CreateSecret, secretsmanager:DeleteResourcePolicy, secretsmanager:DeleteSecret, secretsmanager:DescribeSecret, secretsmanager:GetRandomPassword, secretsmanager:GetResourcePolicy, secretsmanager:GetSecretValue, secretsmanager:PutResourcePolicy, secretsmanager:PutSecretValue, secretsmanager:RotateSecret, secretsmanager:TagResource, secretsmanager:UntagResource and 1 more |
| Serverless Application Repository | 2 of 15 | 1 Read, 1 Write; 2 restricted, 0 conditional | serverlessrepo:CreateCloudFormationTemplate, serverlessrepo:GetCloudFormationTemplate |
| IAM Identity Center | 10 of 126 | 1 List, 2 Read, 7 Write; 10 restricted, 10 conditional | sso:CreateApplication, sso:DeleteApplication, sso:DescribeApplication, sso:DescribeInstance, sso:ListInstances, sso:PutApplicationAccessScope, sso:PutApplicationAssignmentConfiguration, sso:PutApplicationAuthenticationMethod, sso:PutApplicationGrant, sso:PutApplicationSessionConfiguration |
MWAA: 6 actions
- airflow:CreateEnvironment (Write)
- airflow:DeleteEnvironment (Write)
- airflow:GetEnvironment (Read)
- airflow:TagResource (Tagging)
- airflow:UntagResource (Tagging)
- airflow:UpdateEnvironment (Write)
OpenSearch Serverless: 13 actions
- aoss:BatchGetCollection (Read)
- aoss:CreateAccessPolicy (Write)
- aoss:CreateCollection (Write)
- aoss:CreateSecurityPolicy (Write)
- aoss:DeleteAccessPolicy (Write)
- aoss:DeleteCollection (Write)
- aoss:DeleteSecurityPolicy (Write)
- aoss:GetAccessPolicy (Read)
- aoss:GetSecurityPolicy (Read)
- aoss:TagResource (Tagging)
- aoss:UpdateAccessPolicy (Write)
- aoss:UpdateCollection (Write)
- aoss:UpdateSecurityPolicy (Write)
Athena: 10 actions
- athena:CreateDataCatalog (Write)
- athena:CreateWorkGroup (Write)
- athena:DeleteDataCatalog (Write)
- athena:DeleteWorkGroup (Write)
- athena:GetDataCatalog (Read)
- athena:GetWorkGroup (Read)
- athena:TagResource (Tagging)
- athena:UntagResource (Tagging)
- athena:UpdateDataCatalog (Write)
- athena:UpdateWorkGroup (Write)
Bedrock: 62 actions
- bedrock:AssociateAgentKnowledgeBase (Write)
- bedrock:BatchDeleteEvaluationJob (Write)
- bedrock:CreateAgent (Write)
- bedrock:CreateAgentActionGroup (Write)
- bedrock:CreateAgentAlias (Write)
- bedrock:CreateDataSource (Write)
- bedrock:CreateFlow (Write)
- bedrock:CreateFlowAlias (Write)
- bedrock:CreateFlowVersion (Write)
- bedrock:CreateGuardrail (Write)
- bedrock:CreateGuardrailVersion (Write)
- bedrock:CreateKnowledgeBase (Write)
- bedrock:CreatePrompt (Write)
- bedrock:CreatePromptVersion (Write)
- bedrock:DeleteAgent (Write)
- bedrock:DeleteAgentActionGroup (Write)
- bedrock:DeleteAgentAlias (Write)
- bedrock:DeleteDataSource (Write)
- bedrock:DeleteFlow (Write)
- bedrock:DeleteFlowAlias (Write)
- bedrock:DeleteFlowVersion (Write)
- bedrock:DeleteGuardrail (Write)
- bedrock:DeleteKnowledgeBase (Write)
- bedrock:DeletePrompt (Write)
- bedrock:DisassociateAgentKnowledgeBase (Write)
- bedrock:GetAgent (Read)
- bedrock:GetAgentActionGroup (Read)
- bedrock:GetAgentAlias (Read)
- bedrock:GetAgentKnowledgeBase (Read)
- bedrock:GetDataSource (Read)
- bedrock:GetFlow (Read)
- bedrock:GetFlowAlias (Read)
- bedrock:GetFlowVersion (Read)
- bedrock:GetGuardrail (Read)
- bedrock:GetIngestionJob (Read)
- bedrock:GetKnowledgeBase (Read)
- bedrock:GetPrompt (Read)
- bedrock:ListAgentActionGroups (List)
- bedrock:ListAgentAliases (List)
- bedrock:ListAgentKnowledgeBases (List)
- bedrock:ListDataSources (List)
- bedrock:ListEvaluationJobs (List)
- bedrock:ListFlowAliases (List)
- bedrock:ListFlowVersions (List)
- bedrock:ListIngestionJobs (List)
- bedrock:ListTagsForResource (Read)
- bedrock:PrepareAgent (Write)
- bedrock:PrepareFlow (Write)
- bedrock:StartIngestionJob (Write)
- bedrock:StopIngestionJob (Write)
- bedrock:TagResource (Tagging)
- bedrock:UntagResource (Tagging)
- bedrock:UpdateAgent (Write)
- bedrock:UpdateAgentActionGroup (Write)
- bedrock:UpdateAgentAlias (Write)
- bedrock:UpdateAgentKnowledgeBase (Write)
- bedrock:UpdateDataSource (Write)
- bedrock:UpdateFlow (Write)
- bedrock:UpdateFlowAlias (Write)
- bedrock:UpdateGuardrail (Write)
- bedrock:UpdateKnowledgeBase (Write)
- bedrock:UpdatePrompt (Write)
CloudFormation: 10 actions
- cloudformation:CreateChangeSet (Write)
- cloudformation:CreateStack (Write)
- cloudformation:DeleteChangeSet (Write)
- cloudformation:DeleteStack (Write)
- cloudformation:DescribeStackEvents (Read)
- cloudformation:DescribeStacks (List)
- cloudformation:TagResource (Tagging)
- cloudformation:UntagResource (Tagging)
- cloudformation:UpdateStack (Write)
- cloudformation:ValidateTemplate (Read)
CodeCommit: 11 actions
- codecommit:CreateCommit (Write)
- codecommit:CreateRepository (Write)
- codecommit:DeleteRepository (Write)
- codecommit:GetBranch (Read)
- codecommit:GetFile (Read)
- codecommit:GetRepository (Read)
- codecommit:ListRepositories (List)
- codecommit:PutRepositoryTriggers (Write)
- codecommit:TagResource (Tagging)
- codecommit:UntagResource (Tagging)
- codecommit:UpdateRepositoryEncryptionKey (Write)
DataZone: 12 actions
- datazone:CreateConnection (Write)
- datazone:CreateDataSource (Write)
- datazone:CreateSubscriptionTarget (Write)
- datazone:DeleteConnection (Write)
- datazone:DeleteDataSource (Write)
- datazone:DeleteSubscriptionTarget (Write)
- datazone:GetConnection (Read)
- datazone:GetDataSource (Read)
- datazone:GetSubscriptionTarget (Read)
- datazone:UpdateConnection (Write)
- datazone:UpdateDataSource (Write)
- datazone:UpdateSubscriptionTarget (Write)
EC2: 18 actions
- ec2:AuthorizeSecurityGroupEgress (Write)
- ec2:AuthorizeSecurityGroupIngress (Write)
- ec2:CreateNetworkInterface (Write)
- ec2:CreateSecurityGroup (Write)
- ec2:CreateTags (Tagging)
- ec2:CreateVpcEndpoint (Write)
- ec2:DeleteSecurityGroup (Write)
- ec2:DeleteTags (Tagging)
- ec2:DescribeAccountAttributes (List)
- ec2:DescribeAvailabilityZones (List)
- ec2:DescribeNatGateways (List)
- ec2:DescribeNetworkInterfaces (List)
- ec2:DescribeRouteTables (List)
- ec2:DescribeSecurityGroups (List)
- ec2:DescribeSubnets (List)
- ec2:DescribeVpcs (List)
- ec2:RevokeSecurityGroupEgress (Write)
- ec2:RevokeSecurityGroupIngress (Write)
Elastic Container Registry: 4 actions
- ecr:BatchCheckLayerAvailability (Read)
- ecr:BatchGetImage (Read)
- ecr:GetAuthorizationToken (Read)
- ecr:GetDownloadUrlForLayer (Read)
EKS: 7 actions
- eks:AssociateAccessPolicy (Write)
- eks:CreateAccessEntry (Write)
- eks:DeleteAccessEntry (Write)
- eks:DescribeAccessEntry (Read)
- eks:DescribeCluster (Read)
- eks:DisassociateAccessPolicy (Write)
- eks:ListAssociatedAccessPolicies (List)
EMR: 13 actions
- elasticmapreduce:AddJobFlowSteps (Write)
- elasticmapreduce:AddTags (Tagging)
- elasticmapreduce:CreateSecurityConfiguration (Write)
- elasticmapreduce:DeleteSecurityConfiguration (Write)
- elasticmapreduce:DescribeCluster (Read)
- elasticmapreduce:DescribeJobFlows (Read)
- elasticmapreduce:DescribeSecurityConfiguration (Read)
- elasticmapreduce:ListInstanceFleets (Read)
- elasticmapreduce:ModifyInstanceFleet (Write)
- elasticmapreduce:RemoveTags (Tagging)
- elasticmapreduce:RunJobFlow (Write)
- elasticmapreduce:SetTerminationProtection (Write)
- elasticmapreduce:TerminateJobFlows (Write)
EMR Containers: 10 actions
- emr-containers:CreateManagedEndpoint (Write)
- emr-containers:CreateSecurityConfiguration (Write)
- emr-containers:CreateVirtualCluster (Write)
- emr-containers:DeleteManagedEndpoint (Write)
- emr-containers:DeleteSecurityConfiguration (Write)
- emr-containers:DeleteVirtualCluster (Write)
- emr-containers:DescribeManagedEndpoint (Read)
- emr-containers:DescribeSecurityConfiguration (Read)
- emr-containers:DescribeVirtualCluster (Read)
- emr-containers:TagResource (Tagging)
EMR Serverless: 7 actions
- emr-serverless:CreateApplication (Write)
- emr-serverless:DeleteApplication (Write)
- emr-serverless:GetApplication (Read)
- emr-serverless:StopApplication (Write)
- emr-serverless:TagResource (Tagging)
- emr-serverless:UntagResource (Tagging)
- emr-serverless:UpdateApplication (Write)
EventBridge: 6 actions
- events:DeleteRule (Write)
- events:DisableRule (Write)
- events:EnableRule (Write)
- events:PutRule (Write)
- events:PutTargets (Write)
- events:RemoveTargets (Write)
Glue: 25 actions
- glue:CreateCatalog (Write)
- glue:CreateConnection (Write)
- glue:CreateDatabase (Write)
- glue:CreateGlueIdentityCenterConfiguration (Write)
- glue:DeleteCatalog (Write)
- glue:DeleteConnection (Write)
- glue:DeleteDatabase (Write)
- glue:DeleteGlueIdentityCenterConfiguration (Write)
- glue:DescribeConnectionType (Permissions management)
- glue:GetCatalog (Read)
- glue:GetCatalogs (Read)
- glue:GetConnection (Read)
- glue:GetConnections (Read)
- glue:GetDataCatalogEncryptionSettings (Read)
- glue:GetDatabase (Read)
- glue:GetGlueIdentityCenterConfiguration (Read)
- glue:GetTags (Read)
- glue:ListConnectionTypes (Permissions management)
- glue:PassConnection (Write)
- glue:TagResource (Tagging)
- glue:UntagResource (Tagging)
- glue:UpdateCatalog (Write)
- glue:UpdateConnection (Write)
- glue:UpdateDatabase (Write)
- glue:UpdateGlueIdentityCenterConfiguration (Write)
IAM: 29 actions
- iam:AddRoleToInstanceProfile (Write)
- iam:AttachRolePolicy (Permissions management)
- iam:CreateInstanceProfile (Write)
- iam:CreatePolicy (Permissions management)
- iam:CreatePolicyVersion (Permissions management)
- iam:CreateRole (Write)
- iam:CreateServiceLinkedRole (Write)
- iam:DeleteInstanceProfile (Write)
- iam:DeletePolicy (Permissions management)
- iam:DeletePolicyVersion (Permissions management)
- iam:DeleteRole (Write)
- iam:DeleteRolePolicy (Permissions management)
- iam:DetachRolePolicy (Permissions management)
- iam:GetInstanceProfile (Read)
- iam:GetPolicy (Read)
- iam:GetPolicyVersion (Read)
- iam:GetRole (Read)
- iam:GetRolePolicy (Read)
- iam:ListAttachedRolePolicies (List)
- iam:ListInstanceProfilesForRole (List)
- iam:ListPolicies (List)
- iam:ListPolicyVersions (List)
- iam:ListRolePolicies (List)
- iam:PassRole (Write)
- iam:PutRolePolicy (Permissions management)
- iam:RemoveRoleFromInstanceProfile (Write)
- iam:TagRole (Tagging)
- iam:UntagRole (Tagging)
- iam:UpdateAssumeRolePolicy (Permissions management)
EC2 Image Builder: 2 actions
- imagebuilder:GetComponent (Read)
- imagebuilder:GetContainerRecipe (Read)
KMS: 7 actions
- kms:CreateGrant (Permissions management)
- kms:Decrypt (Write)
- kms:DescribeKey (Read)
- kms:Encrypt (Write)
- kms:GenerateDataKey (Write)
- kms:ReEncryptFrom (Write)
- kms:ReEncryptTo (Write)
Lake Formation: 16 actions
- lakeformation:BatchGrantPermissions (Permissions management)
- lakeformation:BatchRevokePermissions (Permissions management)
- lakeformation:CreateLakeFormationIdentityCenterConfiguration (Write)
- lakeformation:DeleteLakeFormationIdentityCenterConfiguration (Write)
- lakeformation:DeregisterResource (Write)
- lakeformation:DescribeLakeFormationIdentityCenterConfiguration (Read)
- lakeformation:DescribeResource (Read)
- lakeformation:GetDataAccess (Write)
- lakeformation:GetDataLakeSettings (Read)
- lakeformation:GrantPermissions (Permissions management)
- lakeformation:ListPermissions (List)
- lakeformation:ListResources (List)
- lakeformation:PutDataLakeSettings (Permissions management)
- lakeformation:RegisterResource (Write)
- lakeformation:RevokePermissions (Permissions management)
- lakeformation:UpdateLakeFormationIdentityCenterConfiguration (Write)
Lambda: 14 actions
- lambda:AddPermission (Permissions management)
- lambda:CreateFunction (Write)
- lambda:DeleteFunction (Write)
- lambda:GetFunction (Read)
- lambda:GetFunctionConfiguration (Read)
- lambda:GetPolicy (Read)
- lambda:ListTags (Read)
- lambda:ListVersionsByFunction (List)
- lambda:PublishVersion (Write)
- lambda:RemovePermission (Permissions management)
- lambda:TagResource (Tagging)
- lambda:UntagResource (Tagging)
- lambda:UpdateFunctionCode (Write)
- lambda:UpdateFunctionConfiguration (Write)
CloudWatch Logs: 13 actions
- logs:AssociateKmsKey (Write)
- logs:CreateLogGroup (Write)
- logs:DeleteDataProtectionPolicy (Write)
- logs:DeleteLogGroup (Write)
- logs:DeleteRetentionPolicy (Write)
- logs:DescribeLogGroups (List)
- logs:DisassociateKmsKey (Write)
- logs:GetDataProtectionPolicy (Read)
- logs:ListTagsForResource (List)
- logs:PutDataProtectionPolicy (Write)
- logs:PutRetentionPolicy (Write)
- logs:TagResource (Tagging)
- logs:UntagResource (Tagging)
Neptune Analytics: 7 actions
- neptune-graph:CreateGraph (Write)
- neptune-graph:DeleteGraph (Write)
- neptune-graph:GetGraph (Read)
- neptune-graph:ListGraphs (Read)
- neptune-graph:TagResource (Tagging)
- neptune-graph:UntagResource (Tagging)
- neptune-graph:UpdateGraph (Write)
QuickSight: 29 actions
- quicksight:CreateDataSource (Write)
- quicksight:CreateFolder (Write)
- quicksight:CreateFolderMembership (Write)
- quicksight:CreateVPCConnection (Write)
- quicksight:DeleteDataSource (Write)
- quicksight:DeleteFolder (Write)
- quicksight:DeleteVPCConnection (Write)
- quicksight:DescribeAccountSubscription (Read)
- quicksight:DescribeDashboard (Read)
- quicksight:DescribeDashboardPermissions (Read)
- quicksight:DescribeDataSet (Read)
- quicksight:DescribeDataSource (Read)
- quicksight:DescribeDataSourcePermissions (Read)
- quicksight:DescribeFolder (Read)
- quicksight:DescribeFolderPermissions (Read)
- quicksight:DescribeGroup (Read)
- quicksight:DescribeGroupMembership (Read)
- quicksight:DescribeUser (Read)
- quicksight:DescribeVPCConnection (Read)
- quicksight:ListFolderMembers (Read)
- quicksight:ListTagsForResource (Read)
- quicksight:TagResource (Tagging)
- quicksight:UntagResource (Tagging)
- quicksight:UpdateDashboardPermissions (Permissions management)
- quicksight:UpdateDataSource (Write)
- quicksight:UpdateDataSourcePermissions (Permissions management)
- quicksight:UpdateFolder (Write)
- quicksight:UpdateFolderPermissions (Permissions management)
- quicksight:UpdateVPCConnection (Write)
Redshift: 5 actions
- redshift:AssociateDataShareConsumer (Write)
- redshift:AuthorizeDataShare (Permissions management)
- redshift:DescribeDataShares (Read)
- redshift:DescribeDataSharesForConsumer (Read)
- redshift:GetResourcePolicy (Read)
Redshift Data API: 3 actions
- redshift-data:DescribeStatement (Read)
- redshift-data:ExecuteStatement (Write)
- redshift-data:GetStatementResult (Read)
Redshift Serverless: 15 actions
- redshift-serverless:CreateNamespace (Write)
- redshift-serverless:CreateWorkgroup (Write)
- redshift-serverless:DeleteNamespace (Write)
- redshift-serverless:DeleteWorkgroup (Write)
- redshift-serverless:GetCredentials (Write)
- redshift-serverless:GetNamespace (Read)
- redshift-serverless:GetWorkgroup (Read)
- redshift-serverless:ListNamespaces (List)
- redshift-serverless:ListSnapshotCopyConfigurations (List)
- redshift-serverless:ListTagsForResource (List)
- redshift-serverless:ListWorkgroups (List)
- redshift-serverless:TagResource (Tagging)
- redshift-serverless:UntagResource (Tagging)
- redshift-serverless:UpdateNamespace (Write)
- redshift-serverless:UpdateWorkgroup (Write)
S3: 14 actions
- s3:CreateAccessGrantsInstance (Permissions management)
- s3:CreateBucket (Write)
- s3:DeleteBucket (Write)
- s3:DeleteBucketPolicy (Permissions management)
- s3:GetAccessGrantsInstance (Read)
- s3:GetBucketPolicy (Read)
- s3:GetEncryptionConfiguration (Read)
- s3:PutBucketCORS (Write)
- s3:PutBucketPolicy (Permissions management)
- s3:PutBucketPublicAccessBlock (Permissions management)
- s3:PutBucketTagging (Tagging)
- s3:PutBucketVersioning (Write)
- s3:PutEncryptionConfiguration (Write)
- s3:PutLifecycleConfiguration (Write)
S3 Vectors: 8 actions
- s3vectors:CreateIndex (Write)
- s3vectors:CreateVectorBucket (Write)
- s3vectors:DeleteIndex (Write)
- s3vectors:DeleteVectorBucket (Write)
- s3vectors:GetIndex (Read)
- s3vectors:GetVectorBucket (Read)
- s3vectors:ListIndexes (List)
- s3vectors:ListVectorBuckets (List)
SageMaker: 17 actions
- sagemaker:AddTags (Tagging)
- sagemaker:CreateApp (Write)
- sagemaker:CreateDomain (Write)
- sagemaker:CreateMlflowApp (Write)
- sagemaker:CreateMlflowTrackingServer (Write)
- sagemaker:DeleteApp (Write)
- sagemaker:DeleteDomain (Write)
- sagemaker:DeleteMlflowApp (Write)
- sagemaker:DeleteMlflowTrackingServer (Write)
- sagemaker:DeleteSpace (Write)
- sagemaker:DeleteTags (Tagging)
- sagemaker:DeleteUserProfile (Write)
- sagemaker:DescribeDomain (Read)
- sagemaker:DescribeMlflowApp (Read)
- sagemaker:DescribeMlflowTrackingServer (Read)
- sagemaker:ListDomains (List)
- sagemaker:UpdateDomain (Write)
EventBridge Scheduler: 7 actions
- scheduler:CreateScheduleGroup (Write)
- scheduler:DeleteSchedule (Write)
- scheduler:DeleteScheduleGroup (Write)
- scheduler:GetScheduleGroup (Read)
- scheduler:ListTagsForResource (Read)
- scheduler:TagResource (Tagging)
- scheduler:UntagResource (Tagging)
Secrets Manager: 13 actions
- secretsmanager:CreateSecret (Write)
- secretsmanager:DeleteResourcePolicy (Permissions management)
- secretsmanager:DeleteSecret (Write)
- secretsmanager:DescribeSecret (Read)
- secretsmanager:GetRandomPassword (Read)
- secretsmanager:GetResourcePolicy (Read)
- secretsmanager:GetSecretValue (Read)
- secretsmanager:PutResourcePolicy (Permissions management)
- secretsmanager:PutSecretValue (Write)
- secretsmanager:RotateSecret (Write)
- secretsmanager:TagResource (Tagging)
- secretsmanager:UntagResource (Tagging)
- secretsmanager:UpdateSecret (Write)
Serverless Application Repository: 2 actions
- serverlessrepo:CreateCloudFormationTemplate (Write)
- serverlessrepo:GetCloudFormationTemplate (Read)
IAM Identity Center: 10 actions
- sso:CreateApplication (Write)
- sso:DeleteApplication (Write)
- sso:DescribeApplication (Read)
- sso:DescribeInstance (Read)
- sso:ListInstances (List)
- sso:PutApplicationAccessScope (Write)
- sso:PutApplicationAssignmentConfiguration (Write)
- sso:PutApplicationAuthenticationMethod (Write)
- sso:PutApplicationGrant (Write)
- sso:PutApplicationSessionConfiguration (Write)
Data-plane actions (4)
By access level: 1 List, 2 Read, 1 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Lambda | 1 of 14 | 1 Write; 1 restricted, 1 conditional | lambda:InvokeFunction |
| S3 | 3 of 25 | 1 List, 2 Read; 3 restricted, 2 conditional | s3:GetObject, s3:GetObjectVersion, s3:ListBucket |
Lambda: 1 actions
- lambda:InvokeFunction (Write)
S3: 3 actions
- s3:GetObject (Read)
- s3:GetObjectVersion (Read)
- s3:ListBucket (List)
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 284 write, tagging or permissions-management actions, short of full control of any service.
- Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).
- Grants permissions-management actions on iam, 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.
Related policies
Same service
- AmazonBedrockAgentCoreMemoryBedrockModelInferenceExecutionRolePolicy
- AmazonBedrockFullAccess
- AmazonBedrockLimitedAccess
- AmazonBedrockMarketplaceAccess
- AmazonBedrockReadOnly
- AmazonBedrockStudioPermissionsBoundary
- AmazonDataZoneBedrockModelConsumptionPolicy
- AmazonDataZoneBedrockModelManagementPolicy
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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CfnCreate",
"Effect": "Allow",
"Action": [
"cloudformation:CreateStack",
"cloudformation:TagResource",
"cloudformation:UntagResource"
],
"Resource": [
"arn:aws:cloudformation:*:*:stack/DataZone*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CfnMng",
"Effect": "Allow",
"Action": [
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:UpdateStack"
],
"Resource": [
"arn:aws:cloudformation:*:*:stack/DataZone*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CfnDelete",
"Effect": "Allow",
"Action": [
"cloudformation:DeleteStack",
"cloudformation:DescribeStacks"
],
"Resource": [
"arn:aws:cloudformation:*:*:stack/DataZone*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "Discovery",
"Effect": "Allow",
"Action": [
"airflow:GetEnvironment",
"bedrock:ListEvaluationJobs",
"cloudformation:ValidateTemplate",
"codecommit:ListRepositories",
"eks:DescribeCluster",
"elasticmapreduce:CreateSecurityConfiguration",
"elasticmapreduce:DeleteSecurityConfiguration",
"elasticmapreduce:DescribeSecurityConfiguration",
"glue:DescribeConnectionType",
"glue:ListConnectionTypes",
"glue:*GlueIdentityCenterConfiguration",
"iam:ListPolicies",
"logs:DescribeLogGroups",
"redshift-data:DescribeStatement",
"redshift-data:GetStatementResult",
"redshift-serverless:ListNamespaces",
"redshift-serverless:ListWorkgroups",
"redshift:DescribeDataShares",
"redshift:DescribeDataSharesForConsumer",
"redshift:GetResourcePolicy",
"sagemaker:DescribeDomain",
"sagemaker:ListDomains",
"secretsmanager:GetRandomPassword"
],
"Resource": "*"
},
{
"Sid": "LFMng",
"Effect": "Allow",
"Action": [
"lakeformation:GetDataLakeSettings",
"lakeformation:PutDataLakeSettings",
"lakeformation:RevokePermissions",
"lakeformation:BatchRevokePermissions",
"lakeformation:ListPermissions",
"lakeformation:RegisterResource",
"lakeformation:DeregisterResource",
"lakeformation:GrantPermissions",
"lakeformation:BatchGrantPermissions",
"lakeformation:ListResources",
"lakeformation:DescribeResource",
"lakeformation:*LakeFormationIdentityCenterConfiguration"
],
"Resource": "*"
},
{
"Sid": "DzTemplate",
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:CalledViaFirst": "cloudformation.amazonaws.com"
},
"StringNotEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "DzCfTemplate",
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::amazon-sagemaker-cf-templates*/*"
},
{
"Sid": "DataZoneEnvironmentResources",
"Effect": "Allow",
"Action": [
"datazone:*Connection",
"datazone:*DataSource",
"datazone:*SubscriptionTarget"
],
"Resource": "*"
},
{
"Sid": "CcCreate",
"Effect": "Allow",
"Action": [
"codecommit:CreateRepository",
"codecommit:TagResource"
],
"Resource": "arn:aws:codecommit:*:*:datazone*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CcDelete",
"Effect": "Allow",
"Action": [
"codecommit:DeleteRepository",
"codecommit:UntagResource",
"codecommit:UpdateRepositoryEncryptionKey",
"codecommit:PutRepositoryTriggers"
],
"Resource": "arn:aws:codecommit:*:*:datazone*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CcAccess",
"Effect": "Allow",
"Action": [
"codecommit:GetBranch",
"codecommit:CreateCommit",
"codecommit:GetRepository",
"codecommit:GetFile"
],
"Resource": "arn:aws:codecommit:*:*:datazone*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CcKms",
"Effect": "Allow",
"Action": [
"kms:Decrypt",
"kms:ReEncryptTo",
"kms:ReEncryptFrom",
"kms:GenerateDataKey"
],
"Resource": "*",
"Condition": {
"Null": {
"kms:EncryptionContext:aws:codecommit:id": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
},
"StringLike": {
"kms:ViaService": [
"codecommit.*.amazonaws.com"
]
}
}
},
{
"Sid": "GetIamRole",
"Effect": "Allow",
"Action": [
"iam:GetRole"
],
"Resource": [
"arn:aws:iam::*:role/datazone*",
"arn:aws:iam::*:role/AmazonBedrock*",
"arn:aws:iam::*:role/BedrockStudio*"
]
},
{
"Sid": "IamManage",
"Effect": "Allow",
"Action": [
"iam:CreateRole",
"iam:DetachRolePolicy",
"iam:DeleteRolePolicy",
"iam:AttachRolePolicy",
"iam:PutRolePolicy"
],
"Resource": [
"arn:aws:iam::*:role/datazone*",
"arn:aws:iam::*:role/AmazonBedrockExecution*",
"arn:aws:iam::*:role/BedrockStudio*",
"arn:aws:iam::*:role/AmazonBedrockConsumptionRole*",
"arn:aws:iam::*:role/AmazonBedrockEvaluation*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"iam:PermissionsBoundary": "arn:aws:iam::aws:policy/SageMakerStudioProjectUserRolePermissionsBoundary"
}
}
},
{
"Sid": "IamDzMng",
"Effect": "Allow",
"Action": [
"iam:DeleteRolePolicy",
"iam:PutRolePolicy"
],
"Resource": [
"arn:aws:iam::*:role/datazone*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"iam:PermissionsBoundary": "arn:aws:iam::aws:policy/SageMakerStudioProjectUserRolePermissionsBoundary"
}
}
},
{
"Sid": "RoleCreate",
"Effect": "Allow",
"Action": [
"iam:CreateRole"
],
"Resource": [
"arn:aws:iam::*:role/datazone*",
"arn:aws:iam::*:role/AmazonBedrock*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "IamMng",
"Effect": "Allow",
"Action": [
"iam:DetachRolePolicy",
"iam:AttachRolePolicy"
],
"Resource": [
"arn:aws:iam::*:role/datazone*"
],
"Condition": {
"ArnEquals": {
"iam:PolicyARN": [
"arn:aws:iam::aws:policy/SageMakerStudioProjectUserRolePolicy",
"arn:aws:iam::aws:policy/SageMakerStudioProjectRoleMachineLearningPolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioEMRContainersSystemNamespaceRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioEMRServiceRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioEMRInstanceRolePolicy",
"arn:aws:iam::aws:policy/service-role/AmazonEMRServicePolicy_v2",
"arn:aws:iam::aws:policy/service-role/AmazonEMRServicePolicyForSessions",
"arn:aws:iam::aws:policy/service-role/AmazonS3TablesLakeFormationServiceRole",
"arn:aws:iam::aws:policy/AmazonSageMakerPartnerAppsFullAccess",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockKnowledgeBaseServiceRolePolicy"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "IamMngAdmin",
"Effect": "Allow",
"Action": [
"iam:DetachRolePolicy",
"iam:AttachRolePolicy"
],
"Resource": [
"arn:aws:iam::*:role/datazone*"
],
"Condition": {
"ArnEquals": {
"iam:PolicyARN": [
"arn:aws:iam::aws:policy/SageMakerStudioAdminProjectUserRolePolicy",
"arn:aws:iam::aws:policy/SageMakerStudioAdminIAMDefaultExecutionPolicy"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneAdminProject": "false"
}
}
},
{
"Sid": "IamMngBR",
"Effect": "Allow",
"Action": [
"iam:AttachRolePolicy",
"iam:DetachRolePolicy"
],
"Resource": "arn:aws:iam::*:role/AmazonBedrock*",
"Condition": {
"ArnEquals": {
"iam:PolicyARN": [
"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockAgentServiceRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockChatAgentUserRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFlowServiceRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFunctionExecutionRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockKnowledgeBaseServiceRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockKnowledgeBaseCustomResourcePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockPromptUserRolePolicy",
"arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockEvaluationJobServiceRolePolicy"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "IamTag",
"Effect": "Allow",
"Action": [
"iam:TagRole",
"iam:UntagRole"
],
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*",
"arn:aws:iam::*:role/datazone_s3tables_*",
"arn:aws:iam::*:role/datazone-partner-apps-*",
"arn:aws:iam::*:role/datazone_redshift_serverless_admin_role_*",
"arn:aws:iam::*:role/AmazonBedrock*",
"arn:aws:iam::*:role/BedrockStudio*",
"arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"BootstrappedServices",
"AmazonBedrockManaged",
"RedshiftDb*",
"EnableAmazonBedrockPermissions",
"EnableAmazonBedrockIDEPermissions",
"EnableGlueWorkloadsPermissions",
"EnableSageMakerMLWorkloadsPermissions",
"DomainBucketName",
"KmsKeyId",
"DomainKmsKeyId",
"DefaultGlueCatalogKmsKeyId",
"LogGroupName",
"RoleName",
"vpcArn",
"VpcId",
"CreatedForUseWithSageMakerStudio",
"SageMakerStudioQueryExecutionRole",
"SageMakerSpacesDomainId"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
}
}
},
{
"Sid": "AdminProjectTagRoleMng",
"Effect": "Allow",
"Action": [
"iam:TagRole",
"iam:UntagRole"
],
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZoneScopeName",
"BootstrappedServices",
"AmazonDataZoneAdminProject"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "IamTagBR",
"Effect": "Allow",
"Action": [
"iam:TagRole",
"iam:UntagRole"
],
"Resource": "arn:aws:iam::*:role/AmazonBedrock*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"AmazonBedrockManaged",
"DomainBucketName",
"KmsKeyId",
"AgentId",
"AgentAliasId",
"AppDefinitionPath",
"DataSourcePath",
"PromptId",
"PromptVersion",
"PromptDefinitionPath",
"OpenSearchServerlessCollectionId"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "IamTagRS",
"Effect": "Allow",
"Action": "iam:TagRole",
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"RedshiftDb*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
}
}
},
{
"Sid": "IamTagEMR",
"Effect": "Allow",
"Action": [
"iam:TagRole",
"iam:UntagRole"
],
"Resource": [
"arn:aws:iam::*:role/datazone_emr_service_role_*",
"arn:aws:iam::*:role/datazone_emr_ec2_instance_role_*",
"arn:aws:iam::*:role/datazone_emr_containers_system_namespace_role_*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"DataZone*",
"for-use-with-amazon-emr-managed-policies",
"DomainBucketName",
"KmsKeyId",
"VpcId"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
}
}
},
{
"Sid": "IamUntag",
"Effect": "Allow",
"Action": "iam:UntagRole",
"Resource": "arn:aws:iam::*:role/datazone_usr_role_*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": "EnableAmazonBedrockIDEPermissions"
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "MngRoles",
"Effect": "Allow",
"Action": [
"iam:DeleteRole",
"iam:DeleteRolePolicy",
"iam:ListRolePolicies",
"iam:GetRolePolicy",
"iam:ListAttachedRolePolicies"
],
"Resource": [
"arn:aws:iam::*:role/datazone*",
"arn:aws:iam::*:role/AmazonBedrock*",
"arn:aws:iam::*:role/BedrockStudio*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "DzMngRoles",
"Effect": "Allow",
"Action": [
"iam:GetRole",
"iam:UpdateAssumeRolePolicy"
],
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*",
"arn:aws:iam::*:role/datazone_emr_*",
"arn:aws:iam::*:role/datazone-partner-apps-*",
"arn:aws:iam::*:role/AmazonBedrock*",
"arn:aws:iam::*:role/datazone_s3tables_*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "IamAttach",
"Effect": "Allow",
"Action": [
"iam:AttachRolePolicy"
],
"Resource": [
"arn:aws:iam::*:role/datazone*"
],
"Condition": {
"StringEquals": {
"iam:PermissionsBoundary": "arn:aws:iam::aws:policy/SageMakerStudioProjectUserRolePermissionsBoundary"
}
}
},
{
"Sid": "IamDetach",
"Effect": "Allow",
"Action": [
"iam:DetachRolePolicy"
],
"Resource": [
"arn:aws:iam::*:role/datazone*",
"arn:aws:iam::*:role/AmazonBedrock*"
]
},
{
"Sid": "DzMngPolicy",
"Effect": "Allow",
"Action": [
"iam:DeletePolicy",
"iam:CreatePolicy",
"iam:ListPolicies",
"iam:GetPolicy",
"iam:GetPolicyVersion",
"iam:CreatePolicyVersion",
"iam:ListPolicyVersions",
"iam:DeletePolicyVersion"
],
"Resource": [
"arn:aws:iam::*:policy/datazone*",
"arn:aws:iam::*:policy/connector-manage-access-policy*",
"arn:aws:iam::*:policy/SageMakerStudioQueryExecutionRolePolicy"
]
},
{
"Sid": "InstanceProfile",
"Effect": "Allow",
"Action": [
"iam:GetInstanceProfile",
"iam:CreateInstanceProfile",
"iam:AddRoleToInstanceProfile",
"iam:RemoveRoleFromInstanceProfile",
"iam:DeleteInstanceProfile"
],
"Resource": "arn:aws:iam::*:instance-profile/datazone_emr_ec2_instance_profile_*"
},
{
"Sid": "PassRole",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*",
"arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole"
],
"Condition": {
"StringEquals": {
"aws:CalledViaFirst": [
"cloudformation.amazonaws.com",
"glue.amazonaws.com"
],
"iam:PassedToService": [
"glue.amazonaws.com",
"lakeformation.amazonaws.com",
"redshift-serverless.amazonaws.com",
"redshift.amazonaws.com",
"emr-serverless.amazonaws.com",
"airflow.amazonaws.com",
"athena.amazonaws.com"
]
}
}
},
{
"Sid": "PassRoleForDZ",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"datazone.amazonaws.com",
"sagemaker.amazonaws.com",
"redshift-serverless.amazonaws.com",
"bedrock.amazonaws.com"
]
}
}
},
{
"Sid": "PassRoleForGlue",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*",
"arn:aws:iam::*:role/datazone_s3tables_*",
"arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole",
"arn:aws:iam::*:role/service-role/AmazonSageMakerQueryExecution"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"glue.amazonaws.com",
"lakeformation.amazonaws.com"
]
}
}
},
{
"Sid": "PassRoleForEmr",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/datazone_emr_service_role_*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"elasticmapreduce.amazonaws.com"
]
}
}
},
{
"Sid": "PassRoleForEmrIP",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/datazone_emr_ec2_instance_role_*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"ec2.amazonaws.com"
]
}
}
},
{
"Sid": "PassRoleToBR",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/AmazonBedrock*",
"arn:aws:iam::*:role/BedrockStudio*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": "bedrock.amazonaws.com"
}
}
},
{
"Sid": "PassRoleToLambda",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/AmazonBedrock*",
"arn:aws:iam::*:role/BedrockStudio*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": "lambda.amazonaws.com"
}
}
},
{
"Sid": "AossSLR",
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "arn:aws:iam::*:role/aws-service-role/observability.aoss.amazonaws.com/AWSServiceRoleForAmazonOpenSearchServerless",
"Condition": {
"StringEquals": {
"iam:AWSServiceName": "observability.aoss.amazonaws.com"
}
}
},
{
"Sid": "GlueDb",
"Effect": "Allow",
"Action": [
"glue:CreateDatabase",
"glue:GetDatabase"
],
"Resource": [
"arn:aws:glue:*:*:database/default",
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:catalog/s3tablescatalog",
"arn:aws:glue:*:*:catalog/s3tablescatalog/*",
"arn:aws:glue:*:*:database/s3tablescatalog/*/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CfnGlueDb",
"Effect": "Allow",
"Action": [
"glue:CreateDatabase"
],
"Resource": [
"arn:aws:glue:*:*:database/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueDbTag",
"Effect": "Allow",
"Action": [
"glue:GetDatabase"
],
"Resource": [
"arn:aws:glue:*:*:database/*",
"arn:aws:glue:*:*:catalog"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueDbManage",
"Effect": "Allow",
"Action": [
"glue:DeleteDatabase",
"glue:UpdateDatabase"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueTag",
"Effect": "Allow",
"Action": [
"glue:TagResource"
],
"Resource": "*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*"
]
},
"Null": {
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueConnTag",
"Effect": "Allow",
"Action": "glue:GetConnection",
"Resource": [
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:connection/datazone-glue-network-connection-*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueConnMng",
"Effect": "Allow",
"Action": [
"glue:CreateConnection",
"glue:DeleteConnection"
],
"Resource": [
"arn:aws:glue:*:*:connection/datazone-glue-network-connection-*",
"arn:aws:glue:*:*:catalog"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueConnections",
"Effect": "Allow",
"Action": [
"glue:PassConnection",
"glue:GetConnections",
"glue:GetTags"
],
"Resource": [
"arn:aws:glue:*:*:connection/*",
"arn:aws:glue:*:*:catalog/*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "AthenaConnection",
"Effect": "Allow",
"Action": [
"athena:CreateDataCatalog"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "GetConnection",
"Effect": "Allow",
"Action": [
"glue:GetConnection"
],
"Resource": [
"arn:aws:glue:*:*:connection/*",
"arn:aws:glue:*:*:catalog/*"
]
},
{
"Sid": "ConnectionTag",
"Effect": "Allow",
"Action": [
"athena:TagResource"
],
"Resource": "arn:aws:athena:*:*:datacatalog/*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"federated_athena*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
}
}
},
{
"Sid": "CreateConn",
"Effect": "Allow",
"Action": [
"glue:CreateConnection"
],
"Resource": [
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:connection/*"
],
"Condition": {
"Null": {
"aws:RequestTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngConnection",
"Effect": "Allow",
"Action": [
"glue:DeleteConnection",
"glue:UpdateConnection"
],
"Resource": [
"arn:aws:glue:*:*:connection/*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngCatalogConn",
"Effect": "Allow",
"Action": [
"glue:DeleteConnection",
"glue:UpdateConnection"
],
"Resource": [
"arn:aws:glue:*:*:catalog"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueKms",
"Effect": "Allow",
"Action": [
"kms:Decrypt",
"kms:Encrypt",
"kms:GenerateDataKey"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"kms:EncryptionContext:glue_catalog_id": "${aws:PrincipalAccount}"
},
"StringLike": {
"kms:ViaService": [
"glue.*.amazonaws.com"
]
}
}
},
{
"Sid": "GetDataCatalogEncSett",
"Effect": "Allow",
"Action": "glue:GetDataCatalogEncryptionSettings",
"Resource": "arn:aws:glue:*:*:catalog",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "Repo",
"Effect": "Allow",
"Action": [
"serverlessrepo:GetCloudFormationTemplate",
"serverlessrepo:CreateCloudFormationTemplate"
],
"Resource": [
"arn:aws:serverlessrepo:*:*:applications/Athena*"
]
},
{
"Sid": "Ecr",
"Effect": "Allow",
"Action": [
"imagebuilder:GetComponent",
"imagebuilder:GetContainerRecipe",
"ecr:GetAuthorizationToken",
"ecr:BatchGetImage",
"ecr:BatchCheckLayerAvailability",
"ecr:GetDownloadUrlForLayer"
],
"Resource": [
"arn:aws:ecr:*:*:repository/athena-federation-repository*"
],
"Condition": {
"StringEquals": {
"aws:CalledViaLast": "lambda.amazonaws.com"
}
}
},
{
"Sid": "CfnChangeSet",
"Effect": "Allow",
"Action": [
"cloudformation:CreateChangeSet",
"cloudformation:DeleteChangeSet"
],
"Resource": [
"arn:aws:cloudformation:*:*:transform/*"
]
},
{
"Sid": "LambdaMng",
"Effect": "Allow",
"Action": [
"lambda:CreateFunction",
"lambda:DeleteFunction",
"lambda:GetFunctionConfiguration",
"lambda:UpdateFunctionConfiguration"
],
"Resource": [
"arn:aws:lambda:*:*:function:athenafederatedcatalog*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "LambdaGet",
"Effect": "Allow",
"Action": [
"lambda:GetFunction"
],
"Resource": [
"arn:aws:lambda:*:*:function:athenafederatedcatalog*"
],
"Condition": {
"StringEquals": {
"aws:CalledViaLast": [
"athena.amazonaws.com",
"cloudformation.amazonaws.com"
],
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagLambda",
"Effect": "Allow",
"Action": [
"lambda:TagResource"
],
"Resource": [
"arn:aws:lambda:*:*:function:athenafederatedcatalog*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"aws:cloudformation:*",
"federated_athena*",
"lambda:createdBy"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "LambdaS3Get",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::awsserverlessrepo*"
],
"Condition": {
"StringLike": {
"aws:CalledViaLast": [
"lambda.amazonaws.com"
]
}
}
},
{
"Sid": "S3List",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::*"
],
"Condition": {
"Null": {
"s3:prefix": "true"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "S3Create",
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:PutBucketTagging",
"s3:PutEncryptionConfiguration",
"s3:PutBucketCORS",
"s3:PutBucketPublicAccessBlock",
"s3:PutBucketPolicy",
"s3:DeleteBucketPolicy",
"s3:GetBucketPolicy"
],
"Resource": [
"arn:aws:s3:::sagemaker-*"
]
},
{
"Sid": "Cfn",
"Effect": "Allow",
"Action": [
"cloudformation:CreateStack",
"cloudformation:DeleteStack",
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents"
],
"Resource": "arn:aws:cloudformation:*:*:stack/athenafederatedcatalog*",
"Condition": {
"Null": {
"aws:ResourceTag/federated_athena_datacatalog": "false"
}
}
},
{
"Sid": "AthenaDC",
"Effect": "Allow",
"Action": [
"athena:DeleteDataCatalog",
"athena:GetDataCatalog",
"athena:UpdateDataCatalog"
],
"Resource": "arn:aws:athena:*:*:datacatalog/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "LambdaPassRole",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::*:role/datazone_usr_role_*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"lambda.amazonaws.com"
]
}
}
},
{
"Sid": "GetRole",
"Effect": "Allow",
"Action": [
"iam:GetRole"
],
"Resource": [
"arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole",
"arn:aws:iam::*:role/service-role/AmazonSageMakerQueryExecution",
"arn:aws:iam::*:role/datazone_s3tables_*"
]
},
{
"Sid": "S3tPassConn",
"Effect": "Allow",
"Action": [
"glue:PassConnection"
],
"Resource": [
"arn:aws:glue:*:*:connection/aws:s3tables"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "LFAccess",
"Effect": "Allow",
"Action": [
"lakeformation:GetDataAccess"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"lakeformation:EnabledOnlyForMetaDataAccess": "true"
}
}
},
{
"Sid": "GlueCatalogCreate",
"Effect": "Allow",
"Action": [
"glue:CreateCatalog"
],
"Resource": [
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:catalog/*"
],
"Condition": {
"Null": {
"aws:RequestTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GlueCatalogMgmt",
"Effect": "Allow",
"Action": [
"glue:GetCatalog",
"glue:GetCatalogs",
"glue:UpdateCatalog",
"glue:DeleteCatalog",
"glue:GetDatabase"
],
"Resource": [
"arn:aws:glue:*:*:catalog",
"arn:aws:glue:*:*:catalog/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RSMng",
"Effect": "Allow",
"Action": [
"redshift-serverless:CreateNamespace",
"redshift-serverless:CreateWorkgroup",
"redshift-serverless:DeleteNamespace",
"redshift-serverless:DeleteWorkgroup",
"redshift-serverless:ListTagsForResource",
"redshift-serverless:ListSnapshotCopyConfigurations",
"redshift-serverless:GetNamespace",
"redshift-serverless:GetWorkgroup"
],
"Resource": [
"arn:aws:redshift-serverless:*:*:namespace/*",
"arn:aws:redshift-serverless:*:*:workgroup/*",
"arn:aws:redshift-serverless:*:*:snapshotcopyconfiguration/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RedshiftDataShare",
"Effect": "Allow",
"Action": [
"redshift:AssociateDataShareConsumer",
"redshift:AuthorizeDataShare"
],
"Resource": [
"arn:aws:redshift:*:*:datashare:*/*"
],
"Condition": {
"ForAnyValue:StringLike": {
"aws:CalledVia": [
"redshift-serverless.amazonaws.com",
"glue.amazonaws.com"
]
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RedshiftBucket",
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:DeleteBucket",
"s3:PutBucketPolicy",
"s3:PutEncryptionConfiguration",
"s3:PutLifecycleConfiguration",
"s3:PutBucketVersioning",
"s3:PutBucketTagging"
],
"Resource": "arn:aws:s3:::redshift-staging-bucket-*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RedshiftTag",
"Effect": "Allow",
"Action": [
"redshift-serverless:TagResource"
],
"Resource": [
"arn:aws:redshift-serverless:*:*:namespace/*",
"arn:aws:redshift-serverless:*:*:workgroup/*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*"
]
},
"Null": {
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CreateSG",
"Effect": "Allow",
"Action": [
"ec2:CreateSecurityGroup"
],
"Resource": [
"arn:aws:ec2:*:*:security-group/*",
"arn:aws:ec2:*:*:vpc/*"
],
"Condition": {
"Null": {
"aws:TagKeys": "true"
}
}
},
{
"Sid": "SGAuth",
"Effect": "Allow",
"Action": [
"ec2:AuthorizeSecurityGroupEgress",
"ec2:AuthorizeSecurityGroupIngress"
],
"Resource": [
"arn:aws:ec2:*:*:security-group/*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "SGMng",
"Effect": "Allow",
"Action": [
"ec2:DeleteSecurityGroup",
"ec2:RevokeSecurityGroupEgress",
"ec2:RevokeSecurityGroupIngress"
],
"Resource": [
"arn:aws:ec2:*:*:security-group/*"
]
},
{
"Sid": "SGRevoke",
"Effect": "Allow",
"Action": [
"ec2:RevokeSecurityGroupIngress"
],
"Resource": [
"arn:aws:ec2:*:*:security-group/*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "TagEc2",
"Effect": "Allow",
"Action": "ec2:CreateTags",
"Resource": [
"arn:aws:ec2:*:*:security-group/*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"for-use-with-amazon-emr-managed-policies",
"aws:cloudformation:*"
]
},
"Null": {
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EC2Mng",
"Effect": "Allow",
"Action": [
"ec2:DescribeVpcs",
"ec2:DescribeSecurityGroups",
"ec2:DescribeNatGateways",
"ec2:DescribeRouteTables",
"ec2:DescribeSubnets",
"ec2:DescribeAccountAttributes",
"ec2:DescribeAvailabilityZones"
],
"Resource": "*"
},
{
"Sid": "CreateLG",
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:TagResource"
],
"Resource": [
"arn:aws:logs:*:*:log-group:datazone-*",
"arn:aws:logs:*:*:log-group:/aws/lambda/amazon-bedrock-ide-*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"AmazonBedrockManaged"
]
},
"Null": {
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "LGRetention",
"Effect": "Allow",
"Action": "logs:PutRetentionPolicy",
"Resource": [
"arn:aws:logs:*:*:log-group:datazone-*",
"arn:aws:logs:*:*:log-group:/aws/lambda/amazon-bedrock-ide-*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngLG",
"Effect": "Allow",
"Action": [
"logs:DeleteLogGroup",
"logs:UntagResource",
"logs:DeleteRetentionPolicy",
"logs:GetDataProtectionPolicy",
"logs:PutDataProtectionPolicy",
"logs:DeleteDataProtectionPolicy",
"logs:AssociateKmsKey",
"logs:DisassociateKmsKey",
"logs:ListTagsForResource"
],
"Resource": [
"arn:aws:logs:*:*:log-group:datazone-*",
"arn:aws:logs:*:*:log-group:/aws/lambda/amazon-bedrock-ide-*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "AthenaMng",
"Effect": "Allow",
"Action": [
"athena:CreateWorkGroup",
"athena:TagResource"
],
"Resource": "arn:aws:athena:*:*:workgroup/*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"aws:cloudformation:*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "AthenaWGDelete",
"Effect": "Allow",
"Action": [
"athena:DeleteWorkGroup",
"athena:UpdateWorkGroup",
"athena:UntagResource",
"athena:GetWorkGroup"
],
"Resource": "arn:aws:athena:*:*:workgroup/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RedshiftCreate",
"Effect": "Allow",
"Action": [
"redshift-serverless:CreateNamespace",
"redshift-serverless:CreateWorkgroup",
"redshift-serverless:TagResource"
],
"Resource": [
"arn:aws:redshift-serverless:*:*:namespace/*",
"arn:aws:redshift-serverless:*:*:workgroup/*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagRSS",
"Effect": "Allow",
"Action": [
"redshift-serverless:ListTagsForResource"
],
"Resource": [
"arn:aws:redshift-serverless:*:*:namespace/*",
"arn:aws:redshift-serverless:*:*:workgroup/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngSecret",
"Effect": "Allow",
"Action": [
"secretsmanager:CreateSecret",
"secretsmanager:DeleteSecret",
"secretsmanager:UpdateSecret"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:ResourceTag/CreatedBy": "false"
}
}
},
{
"Sid": "SecretProject",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:PutSecretValue"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "SecretAll",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:GetSecretValue",
"secretsmanager:PutSecretValue"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/for-use-with-all-datazone-projects": "true"
}
}
},
{
"Sid": "TagSecret",
"Effect": "Allow",
"Action": [
"secretsmanager:TagResource"
],
"Resource": "*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"CreatedBy"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:ResourceTag/CreatedBy": "false",
"aws:TagKeys": "false"
}
}
},
{
"Sid": "SecretKms",
"Effect": "Allow",
"Action": [
"kms:GenerateDataKey",
"kms:Decrypt"
],
"Resource": "*",
"Condition": {
"Null": {
"kms:EncryptionContext:SecretARN": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
},
"StringLike": {
"kms:ViaService": [
"secretsmanager.*.amazonaws.com"
]
}
}
},
{
"Sid": "SsoKms",
"Effect": "Allow",
"Action": "kms:Decrypt",
"Resource": "*",
"Condition": {
"ArnLike": {
"kms:EncryptionContext:aws:sso:instance-arn": "arn:*:sso:::instance/*"
},
"StringLike": {
"kms:ViaService": "sso.*.amazonaws.com"
}
}
},
{
"Sid": "IdStoreKms",
"Effect": "Allow",
"Action": "kms:Decrypt",
"Resource": "*",
"Condition": {
"ArnLike": {
"kms:EncryptionContext:aws:identitystore:identitystore-arn": "arn:*:identitystore::*:identitystore/*"
},
"StringLike": {
"kms:ViaService": "identitystore.*.amazonaws.com"
}
}
},
{
"Sid": "CreateSLR",
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": [
"arn:aws:iam::*:role/aws-service-role/neptune-graph.amazonaws.com/AWSServiceRoleForNeptuneGraph",
"arn:aws:iam::*:role/aws-service-role/redshift.amazonaws.com/AWSServiceRoleForRedshift",
"arn:aws:iam::*:role/aws-service-role/sagemaker.amazonaws.com/AWSServiceRoleForAmazonSageMakerNotebooks",
"arn:aws:iam::*:role/aws-service-role/ops.emr-serverless.amazonaws.com/AWSServiceRoleForAmazonEMRServerless",
"arn:aws:iam::*:role/aws-service-role/airflow.amazonaws.com/AWSServiceRoleForAmazonMWAA",
"arn:aws:iam::*:role/aws-service-role/elasticmapreduce.amazonaws.com/AWSServiceRoleForEMRCleanup",
"arn:aws:iam::*:role/aws-service-role/emr-containers.amazonaws.com/AWSServiceRoleForAmazonEMRContainers",
"arn:aws:iam::*:role/aws-service-role/ops.athena.amazonaws.com/AWSServiceRoleForAmazonAthena"
]
},
{
"Sid": "RssMng",
"Effect": "Allow",
"Action": [
"redshift-data:ExecuteStatement",
"redshift-serverless:GetCredentials",
"redshift-serverless:UntagResource",
"redshift-serverless:UpdateNamespace",
"redshift-serverless:UpdateWorkgroup"
],
"Resource": [
"arn:aws:redshift-serverless:*:*:namespace/*",
"arn:aws:redshift-serverless:*:*:workgroup/*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RedshiftKms",
"Effect": "Allow",
"Action": [
"kms:Decrypt",
"kms:Encrypt",
"kms:GenerateDataKey"
],
"Resource": "*",
"Condition": {
"Null": {
"kms:EncryptionContext:aws:redshift-serverless:arn": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
},
"StringLike": {
"kms:ViaService": [
"redshift-serverless.*.amazonaws.com"
]
}
}
},
{
"Sid": "BRSecret",
"Effect": "Allow",
"Action": [
"secretsmanager:DescribeSecret",
"secretsmanager:CreateSecret",
"secretsmanager:UpdateSecret",
"secretsmanager:DeleteSecret",
"secretsmanager:GetResourcePolicy",
"secretsmanager:PutResourcePolicy",
"secretsmanager:DeleteResourcePolicy",
"secretsmanager:TagResource"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:amazon-bedrock-ide/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "RedshiftSecret",
"Effect": "Allow",
"Action": [
"secretsmanager:CreateSecret",
"secretsmanager:RotateSecret",
"secretsmanager:DescribeSecret",
"secretsmanager:UpdateSecret",
"secretsmanager:DeleteSecret"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:redshift!*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagRsSecret",
"Effect": "Allow",
"Action": [
"secretsmanager:TagResource"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:redshift!*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"Redshift",
"aws:secretsmanager:*",
"aws:redshift-serverless:*",
"AmazonDataZone*",
"datazone.rs.workgroup"
]
},
"Null": {
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagSMD",
"Effect": "Allow",
"Action": [
"sagemaker:AddTags"
],
"Resource": [
"arn:aws:sagemaker:*:*:domain/*",
"arn:aws:sagemaker:*:*:mlflow-tracking-server/*",
"arn:aws:sagemaker:*:*:mlflow-app/*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagSMDForUpdate",
"Effect": "Allow",
"Action": [
"sagemaker:CreateDomain",
"sagemaker:AddTags"
],
"Resource": [
"arn:aws:sagemaker:*:*:domain/*",
"arn:aws:sagemaker:*:*:mlflow-tracking-server/*",
"arn:aws:sagemaker:*:*:mlflow-app/*"
],
"Condition": {
"Null": {
"aws:RequestTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngSMD",
"Effect": "Allow",
"Action": [
"sagemaker:UpdateDomain",
"sagemaker:DeleteDomain"
],
"Resource": "arn:aws:sagemaker:*:*:domain/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "SMApp",
"Effect": "Allow",
"Action": [
"sagemaker:CreateApp",
"sagemaker:AddTags",
"sagemaker:DeleteApp"
],
"Resource": "arn:aws:sagemaker:*:*:app/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "DeleteSpace",
"Effect": "Allow",
"Action": "sagemaker:DeleteSpace",
"Resource": "arn:aws:sagemaker:*:*:space/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "DeleteUserProfile",
"Effect": "Allow",
"Action": "sagemaker:DeleteUserProfile",
"Resource": "arn:aws:sagemaker:*:*:user-profile/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EmrSCreate",
"Effect": "Allow",
"Action": [
"emr-serverless:CreateApplication",
"emr-serverless:TagResource"
],
"Resource": [
"*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"aws:cloudformation:*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EmrSMng",
"Effect": "Allow",
"Action": [
"emr-serverless:DeleteApplication",
"emr-serverless:GetApplication",
"emr-serverless:StopApplication",
"emr-serverless:UpdateApplication"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EmrSEc2Eni",
"Effect": "Allow",
"Action": "ec2:CreateNetworkInterface",
"Resource": [
"arn:aws:ec2:*:*:network-interface/*"
],
"Condition": {
"StringEquals": {
"aws:CalledViaLast": "ops.emr-serverless.amazonaws.com",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EmrSEc2Subnet",
"Effect": "Allow",
"Action": "ec2:CreateNetworkInterface",
"Resource": [
"arn:aws:ec2:*:*:subnet/*",
"arn:aws:ec2:*:*:security-group/*"
],
"Condition": {
"StringEquals": {
"aws:CalledViaLast": "ops.emr-serverless.amazonaws.com"
}
}
},
{
"Sid": "MLFlowCreate",
"Effect": "Allow",
"Action": [
"sagemaker:CreateMlflowTrackingServer",
"sagemaker:AddTags"
],
"Resource": "arn:aws:sagemaker:*:*:mlflow-tracking-server/*",
"Condition": {
"Null": {
"aws:RequestTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MLFlowDescribe",
"Effect": "Allow",
"Action": "sagemaker:DescribeMlflowTrackingServer",
"Resource": "arn:aws:sagemaker:*:*:mlflow-tracking-server/*"
},
{
"Sid": "MLFlowDelete",
"Effect": "Allow",
"Action": [
"sagemaker:DeleteMlflowTrackingServer"
],
"Resource": "arn:aws:sagemaker:*:*:mlflow-tracking-server/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MLFlowServerlessCreate",
"Effect": "Allow",
"Action": [
"sagemaker:CreateMlflowApp"
],
"Resource": "arn:aws:sagemaker:*:*:mlflow-app/*",
"Condition": {
"Null": {
"aws:RequestTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "MLFlowServerlessDescribeDelete",
"Effect": "Allow",
"Action": [
"sagemaker:DeleteMlflowApp",
"sagemaker:DescribeMlflowApp"
],
"Resource": "arn:aws:sagemaker:*:*:mlflow-app/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "AossMng",
"Effect": "Allow",
"Action": [
"aoss:GetAccessPolicy",
"aoss:CreateAccessPolicy",
"aoss:DeleteAccessPolicy",
"aoss:UpdateAccessPolicy"
],
"Resource": "*",
"Condition": {
"StringLikeIfExists": {
"aoss:collection": "bedrock-ide-*",
"aoss:index": "bedrock-ide-*"
}
}
},
{
"Sid": "MngAossPolicies",
"Effect": "Allow",
"Action": [
"aoss:GetSecurityPolicy",
"aoss:CreateSecurityPolicy",
"aoss:DeleteSecurityPolicy",
"aoss:UpdateSecurityPolicy"
],
"Resource": "*",
"Condition": {
"StringLikeIfExists": {
"aoss:collection": "bedrock-ide-*"
}
}
},
{
"Sid": "GetAoss",
"Effect": "Allow",
"Action": "aoss:BatchGetCollection",
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "AossCollections",
"Effect": "Allow",
"Action": [
"aoss:CreateCollection",
"aoss:UpdateCollection",
"aoss:DeleteCollection",
"aoss:TagResource"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngNeptune",
"Effect": "Allow",
"Action": [
"neptune-graph:CreateGraph",
"neptune-graph:UpdateGraph",
"neptune-graph:DeleteGraph",
"neptune-graph:ListGraphs",
"neptune-graph:GetGraph"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "S3VectorsMng",
"Effect": "Allow",
"Action": [
"s3vectors:CreateVectorBucket",
"s3vectors:DeleteVectorBucket",
"s3vectors:ListVectorBuckets",
"s3vectors:GetVectorBucket",
"s3vectors:CreateIndex",
"s3vectors:DeleteIndex",
"s3vectors:ListIndexes",
"s3vectors:GetIndex"
],
"Resource": "arn:aws:s3vectors:*:*:bucket/amazon-bedrock-ide-*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagNeptune",
"Effect": "Allow",
"Action": [
"neptune-graph:TagResource"
],
"Resource": "arn:aws:neptune-graph:*:*:graph/*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*",
"AmazonBedrock*"
]
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "GetS3GenAI",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": "arn:aws:s3:::*/dzd*/*/genAI/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "GetBR",
"Effect": "Allow",
"Action": [
"bedrock:GetAgent",
"bedrock:GetKnowledgeBase",
"bedrock:GetGuardrail",
"bedrock:GetPrompt",
"bedrock:GetFlow",
"bedrock:GetFlowAlias",
"bedrock:ListTagsForResource"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "BRMng",
"Effect": "Allow",
"Action": [
"bedrock:CreateAgent",
"bedrock:UpdateAgent",
"bedrock:PrepareAgent",
"bedrock:DeleteAgent",
"bedrock:ListAgentAliases",
"bedrock:GetAgentAlias",
"bedrock:CreateAgentAlias",
"bedrock:UpdateAgentAlias",
"bedrock:DeleteAgentAlias",
"bedrock:ListAgentActionGroups",
"bedrock:GetAgentActionGroup",
"bedrock:CreateAgentActionGroup",
"bedrock:UpdateAgentActionGroup",
"bedrock:DeleteAgentActionGroup",
"bedrock:ListAgentKnowledgeBases",
"bedrock:GetAgentKnowledgeBase",
"bedrock:AssociateAgentKnowledgeBase",
"bedrock:DisassociateAgentKnowledgeBase",
"bedrock:UpdateAgentKnowledgeBase",
"bedrock:CreateKnowledgeBase",
"bedrock:UpdateKnowledgeBase",
"bedrock:DeleteKnowledgeBase",
"bedrock:ListDataSources",
"bedrock:GetDataSource",
"bedrock:CreateDataSource",
"bedrock:UpdateDataSource",
"bedrock:DeleteDataSource",
"bedrock:ListIngestionJobs",
"bedrock:GetIngestionJob",
"bedrock:StartIngestionJob",
"bedrock:StopIngestionJob",
"bedrock:CreateGuardrail",
"bedrock:UpdateGuardrail",
"bedrock:DeleteGuardrail",
"bedrock:CreateGuardrailVersion",
"bedrock:CreatePrompt",
"bedrock:UpdatePrompt",
"bedrock:DeletePrompt",
"bedrock:CreatePromptVersion",
"bedrock:CreateFlow",
"bedrock:UpdateFlow",
"bedrock:PrepareFlow",
"bedrock:DeleteFlow",
"bedrock:ListFlowAliases",
"bedrock:GetFlowAlias",
"bedrock:CreateFlowAlias",
"bedrock:UpdateFlowAlias",
"bedrock:DeleteFlowAlias",
"bedrock:ListFlowVersions",
"bedrock:GetFlowVersion",
"bedrock:CreateFlowVersion",
"bedrock:DeleteFlowVersion",
"bedrock:TagResource"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagBR",
"Effect": "Allow",
"Action": "bedrock:TagResource",
"Resource": [
"arn:aws:bedrock:*:*:agent-alias/*/TSTALIASID",
"arn:aws:bedrock:*:*:flow/*/alias/TSTALIASID"
],
"Condition": {
"Null": {
"aws:RequestTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngBRJobs",
"Effect": "Allow",
"Action": "bedrock:BatchDeleteEvaluationJob",
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "BRLambda",
"Effect": "Allow",
"Action": [
"lambda:CreateFunction",
"lambda:InvokeFunction",
"lambda:DeleteFunction",
"lambda:UpdateFunctionCode",
"lambda:GetFunctionConfiguration",
"lambda:UpdateFunctionConfiguration",
"lambda:ListVersionsByFunction",
"lambda:PublishVersion",
"lambda:GetPolicy",
"lambda:AddPermission",
"lambda:TagResource"
],
"Resource": "arn:aws:lambda:*:*:function:amazon-bedrock-ide-*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngBRLambda",
"Effect": "Allow",
"Action": [
"lambda:GetFunction",
"lambda:ListTags",
"lambda:RemovePermission"
],
"Resource": "arn:aws:lambda:*:*:function:amazon-bedrock-ide-*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "EMRClusterMng",
"Effect": "Allow",
"Action": [
"elasticmapreduce:AddJobFlowSteps",
"elasticmapreduce:AddTags",
"elasticmapreduce:DescribeJobFlows",
"elasticmapreduce:ListInstanceFleets",
"elasticmapreduce:ModifyInstanceFleet",
"elasticmapreduce:RunJobFlow",
"elasticmapreduce:SetTerminationProtection",
"elasticmapreduce:TerminateJobFlows",
"elasticmapreduce:DescribeCluster"
],
"Resource": "arn:aws:elasticmapreduce:*:*:cluster/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "AirflowEnv",
"Effect": "Allow",
"Action": [
"airflow:CreateEnvironment",
"airflow:UpdateEnvironment",
"airflow:DeleteEnvironment",
"airflow:TagResource"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "AirflowS3",
"Effect": "Allow",
"Action": [
"s3:GetEncryptionConfiguration"
],
"Resource": [
"arn:aws:s3:::*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "VpcCreate",
"Effect": "Allow",
"Action": [
"ec2:CreateVpcEndpoint"
],
"Resource": [
"arn:aws:ec2:*:*:vpc-endpoint/*",
"arn:aws:ec2:*:*:vpc/*",
"arn:aws:ec2:*:*:subnet/*",
"arn:aws:ec2:*:*:security-group/*"
]
},
{
"Sid": "ENICreate",
"Effect": "Allow",
"Action": [
"ec2:CreateNetworkInterface"
],
"Resource": [
"arn:aws:ec2:*:*:subnet/*",
"arn:aws:ec2:*:*:network-interface/*"
]
},
{
"Sid": "KmsCreate",
"Effect": "Allow",
"Action": [
"kms:CreateGrant"
],
"Resource": "*",
"Condition": {
"Null": {
"kms:EncryptionContextKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
},
"StringLike": {
"kms:ViaService": [
"airflow.*.amazonaws.com",
"neptune-graph.*.amazonaws.com",
"s3vectors.*.amazonaws.com"
]
}
}
},
{
"Sid": "KmsDescribe",
"Effect": "Allow",
"Action": [
"kms:DescribeKey"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "QueryRoleMng",
"Effect": "Allow",
"Action": [
"iam:GetRole",
"iam:CreateRole",
"iam:DetachRolePolicy",
"iam:DeleteRolePolicy",
"iam:AttachRolePolicy"
],
"Resource": "arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole",
"Condition": {
"StringEquals": {
"iam:PermissionsBoundary": "arn:aws:iam::aws:policy/SageMakerStudioProjectUserRolePermissionsBoundary"
}
}
},
{
"Sid": "QueryRoleCreate",
"Effect": "Allow",
"Action": [
"iam:CreateRole"
],
"Resource": "arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole"
},
{
"Sid": "QueryRolePolicy",
"Effect": "Allow",
"Action": [
"iam:DetachRolePolicy",
"iam:AttachRolePolicy"
],
"Resource": "arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole",
"Condition": {
"ArnEquals": {
"iam:PolicyARN": [
"arn:aws:iam::aws:policy/service-role/SageMakerStudioQueryExecutionRolePolicy"
]
}
}
},
{
"Sid": "TagQueryRole",
"Effect": "Allow",
"Action": "iam:TagRole",
"Resource": "arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"CreatedForUseWithSageMakerStudio",
"SageMakerStudioQueryExecutionRole"
]
}
}
},
{
"Sid": "ListQueryPolicy",
"Effect": "Allow",
"Action": [
"iam:ListAttachedRolePolicies"
],
"Resource": "arn:aws:iam::*:role/SageMakerStudioQueryExecutionRole"
},
{
"Sid": "EMRCleanup",
"Effect": "Allow",
"Action": [
"ec2:DeleteSecurityGroup",
"ec2:DeleteTags"
],
"Resource": "arn:aws:ec2:*:*:security-group/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "EmrRoleCleanup",
"Effect": "Allow",
"Action": [
"iam:ListAttachedRolePolicies",
"iam:ListRolePolicies",
"iam:ListInstanceProfilesForRole",
"iam:DeleteRolePolicy",
"iam:DeleteRole"
],
"Resource": "arn:aws:iam::*:role/datazone_emr_*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "EmrInstanceCleanup",
"Effect": "Allow",
"Action": [
"iam:RemoveRoleFromInstanceProfile",
"iam:DeleteInstanceProfile"
],
"Resource": "arn:aws:iam::*:instance-profile/datazone_emr_ec2_instance_profile_*"
},
{
"Sid": "Scheduler",
"Effect": "Allow",
"Action": [
"scheduler:ListTagsForResource",
"scheduler:GetScheduleGroup"
],
"Resource": "arn:aws:scheduler:*:*:schedule-group/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "ScheduleGroup",
"Effect": "Allow",
"Action": [
"scheduler:DeleteScheduleGroup",
"scheduler:UntagResource"
],
"Resource": "arn:aws:scheduler:*:*:schedule-group/*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "CreateSchedule",
"Effect": "Allow",
"Action": "scheduler:CreateScheduleGroup",
"Resource": "arn:aws:scheduler:*:*:schedule-group/*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": "AmazonDataZone*"
},
"Null": {
"aws:RequestTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagSchedule",
"Effect": "Allow",
"Action": "scheduler:TagResource",
"Resource": "arn:aws:scheduler:*:*:schedule-group/*",
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": "AmazonDataZone*"
},
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false",
"aws:TagKeys": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "DeleteSchedule",
"Effect": "Allow",
"Action": [
"scheduler:DeleteSchedule"
],
"Resource": [
"arn:aws:scheduler:*:*:schedule/SageMakerUnifiedStudio-*-*/*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "MngQSFolder",
"Effect": "Allow",
"Action": [
"quicksight:CreateDataSource",
"quicksight:CreateFolder",
"quicksight:CreateFolderMembership",
"quicksight:CreateVPCConnection",
"quicksight:DeleteDataSource",
"quicksight:DeleteFolder",
"quicksight:DescribeDataSource",
"quicksight:DescribeFolderPermissions",
"quicksight:DescribeDataSourcePermissions",
"quicksight:DeleteVPCConnection",
"quicksight:ListFolderMembers",
"quicksight:ListTagsForResource",
"quicksight:UpdateDataSource",
"quicksight:UpdateDataSourcePermissions",
"quicksight:UpdateFolder",
"quicksight:UpdateFolderPermissions",
"quicksight:UpdateVPCConnection"
],
"Resource": [
"*"
],
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "QuickSightResources",
"Effect": "Allow",
"Action": [
"quicksight:DescribeAccountSubscription",
"quicksight:DescribeDataSet",
"quicksight:DescribeDashboard",
"quicksight:DescribeDashboardPermissions",
"quicksight:DescribeFolder",
"quicksight:DescribeGroup",
"quicksight:DescribeGroupMembership",
"quicksight:DescribeUser",
"quicksight:DescribeVPCConnection",
"quicksight:ListTagsForResource",
"quicksight:UpdateDashboardPermissions"
],
"Resource": [
"arn:aws:quicksight:*:*:*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "TagQS",
"Effect": "Allow",
"Action": [
"quicksight:TagResource"
],
"Resource": [
"arn:aws:quicksight:*:*:*"
],
"Condition": {
"ForAllValues:StringLike": {
"aws:TagKeys": [
"AmazonDataZone*"
]
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "PassRoleForQS",
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": [
"arn:aws:iam::*:role/service-role/AmazonSageMakerQuickSightVPC",
"arn:aws:iam::*:role/datazone_usr_role_*"
],
"Condition": {
"StringEquals": {
"iam:PassedToService": "quicksight.amazonaws.com"
}
}
},
{
"Sid": "PutRule",
"Effect": "Allow",
"Action": "events:PutRule",
"Resource": "arn:aws:events:*:*:rule/Managed.SageMaker*",
"Condition": {
"ForAllValues:StringEquals": {
"events:source": [
"aws.quicksight",
"aws.codecommit"
]
},
"Null": {
"events:detail-type": "false",
"events:source": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"events:ManagedBy": "datazone.amazonaws.com",
"events:detail-type": [
"AWS Service Event via CloudTrail",
"CodeCommit Repository State Change"
]
}
}
},
{
"Sid": "MngEventRules",
"Effect": "Allow",
"Action": [
"events:DeleteRule",
"events:DisableRule",
"events:EnableRule",
"events:PutTargets",
"events:RemoveTargets"
],
"Resource": "arn:aws:events:*:*:rule/Managed.SageMaker*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"events:ManagedBy": "datazone.amazonaws.com"
}
}
},
{
"Sid": "RssAdmin",
"Effect": "Allow",
"Action": [
"secretsmanager:GetSecretValue"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "S3AGPerm",
"Effect": "Allow",
"Action": [
"s3:GetAccessGrantsInstance",
"s3:CreateAccessGrantsInstance"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "ResourceTagsUnTagPermissions",
"Effect": "Allow",
"Action": [
"bedrock:UntagResource",
"neptune-graph:UntagResource",
"quicksight:UntagResource",
"glue:UntagResource",
"airflow:UntagResource",
"secretsmanager:UntagResource",
"lambda:UntagResource",
"emr-serverless:UntagResource",
"elasticmapreduce:RemoveTags",
"sagemaker:DeleteTags"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "SSOMng",
"Effect": "Allow",
"Action": [
"sso:CreateApplication",
"sso:DeleteApplication",
"sso:DescribeApplication",
"sso:DescribeInstance",
"sso:ListInstances",
"sso:PutApplicationAccessScope",
"sso:PutApplicationAssignmentConfiguration",
"sso:PutApplicationAuthenticationMethod",
"sso:PutApplicationGrant",
"sso:PutApplicationSessionConfiguration"
],
"Resource": "*",
"Condition": {
"ForAnyValue:StringLike": {
"aws:CalledVia": [
"elasticmapreduce.amazonaws.com",
"emr-containers.amazonaws.com",
"glue.amazonaws.com",
"lakeformation.amazonaws.com",
"ops.emr-serverless.amazonaws.com"
]
}
}
},
{
"Sid": "EmrContainersMng",
"Effect": "Allow",
"Action": [
"emr-containers:CreateManagedEndpoint",
"emr-containers:CreateSecurityConfiguration",
"emr-containers:CreateVirtualCluster",
"emr-containers:DeleteManagedEndpoint",
"emr-containers:DeleteSecurityConfiguration",
"emr-containers:DeleteVirtualCluster",
"emr-containers:DescribeSecurityConfiguration",
"emr-containers:DescribeVirtualCluster",
"emr-containers:DescribeManagedEndpoint",
"emr-containers:TagResource"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/AmazonDataZoneProject": "false"
}
}
},
{
"Sid": "MngViaEmrContainers",
"Effect": "Allow",
"Action": [
"ec2:AuthorizeSecurityGroupEgress",
"ec2:AuthorizeSecurityGroupIngress",
"ec2:CreateSecurityGroup",
"ec2:DeleteSecurityGroup",
"ec2:DescribeNetworkInterfaces",
"ec2:RevokeSecurityGroupEgress",
"ec2:RevokeSecurityGroupIngress",
"eks:AssociateAccessPolicy",
"eks:CreateAccessEntry",
"eks:DisassociateAccessPolicy",
"eks:DeleteAccessEntry",
"eks:DescribeAccessEntry",
"eks:ListAssociatedAccessPolicies"
],
"Resource": "*",
"Condition": {
"ForAnyValue:StringLike": {
"aws:CalledVia": [
"emr-containers.amazonaws.com"
]
}
}
}
]
}
Version history
Current version v84, edited by AWS on 2026-10-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/service-role/SageMakerStudioProjectProvisioningRolePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/SageMakerStudioProjectProvisioningRolePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/SageMakerStudioProjectProvisioningRolePolicyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/SageMakerStudioProjectProvisioningRolePolicyTerraform
resource "aws_iam_role_policy_attachment" "service_role_sagemakerstudioprojectprovisioningrolepolicy" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/SageMakerStudioProjectProvisioningRolePolicy"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/SageMakerStudioProjectProvisioningRolePolicy"),
);Sources
Pending editorial review. No editorial sources are listed yet.