Skip to content

Commit 1f739b5

Browse files
author
MAMIP Bot
committed
SageMakerStudioProjectUserRolePolicy - Policy Version v19
1 parent 2453391 commit 1f739b5

File tree

1 file changed

+52
-12
lines changed

1 file changed

+52
-12
lines changed

policies/SageMakerStudioProjectUserRolePolicy

Lines changed: 52 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"PolicyVersion": {
3-
"CreateDate": "2025-09-17T21:04:07Z",
4-
"VersionId": "v18",
3+
"CreateDate": "2025-11-07T17:34:09Z",
4+
"VersionId": "v19",
55
"Document": {
66
"Version": "2012-10-17",
77
"Statement": [
@@ -447,8 +447,7 @@
447447
"Effect": "Allow",
448448
"Condition": {
449449
"StringEquals": {
450-
"kms:EncryptionContext:glue_catalog_id": "${aws:PrincipalAccount}",
451-
"aws:ResourceAccount": "${aws:PrincipalAccount}"
450+
"kms:EncryptionContext:glue_catalog_id": "${aws:PrincipalAccount}"
452451
},
453452
"StringLike": {
454453
"kms:ViaService": [
@@ -1348,23 +1347,45 @@
13481347
"sqlworkbench:DriverExecute",
13491348
"sqlworkbench:GetUserInfo",
13501349
"sqlworkbench:ListTabs",
1351-
"sqlworkbench:GetAutocompletionMetadata",
1352-
"sqlworkbench:GetAutocompletionResource",
1350+
"sqlworkbench:GetAutocompletion*",
13531351
"sqlworkbench:PassAccountSettings",
13541352
"sqlworkbench:ListQueryExecutionHistory",
13551353
"sqlworkbench:GetQueryExecutionHistory",
13561354
"sqlworkbench:CreateConnection",
1357-
"sqlworkbench:PutQCustomContext",
1358-
"sqlworkbench:GetQCustomContext",
1359-
"sqlworkbench:DeleteQCustomContext",
1360-
"sqlworkbench:GetQSqlRecommendations",
1361-
"sqlworkbench:GetQSqlPromptQuotas",
1355+
"sqlworkbench:*QCustomContext",
1356+
"sqlworkbench:GetQSql*",
13621357
"sqlworkbench:GetSchemaInference"
13631358
],
13641359
"Resource": "*",
13651360
"Effect": "Allow",
13661361
"Sid": "SQLWorkBenchActionsWithoutResourceType"
13671362
},
1363+
{
1364+
"Action": "sqlworkbench:AssociateNotebookWithTab",
1365+
"Resource": "arn:*:sqlworkbench:*:*:notebook/*",
1366+
"Effect": "Allow",
1367+
"Sid": "SQLWorkBenchActions"
1368+
},
1369+
{
1370+
"Action": [
1371+
"sqlworkbench:CreateNotebook*",
1372+
"sqlworkbench:GetNotebook",
1373+
"sqlworkbench:UpdateNotebook*",
1374+
"sqlworkbench:DeleteNotebook*",
1375+
"sqlworkbench:ExportNotebook",
1376+
"sqlworkbench:BatchGetNotebookCell",
1377+
"sqlworkbench:TagResource"
1378+
],
1379+
"Resource": "*",
1380+
"Effect": "Allow",
1381+
"Condition": {
1382+
"StringEquals": {
1383+
"aws:ResourceTag/AmazonDataZoneProject": "${aws:PrincipalTag/AmazonDataZoneProject}",
1384+
"aws:ResourceTag/sqlworkbench-resource-owner": "${aws:userid}"
1385+
}
1386+
},
1387+
"Sid": "SQLWorkBenchNotebookActions"
1388+
},
13681389
{
13691390
"Action": [
13701391
"redshift-data:DescribeStatement",
@@ -1473,6 +1494,10 @@
14731494
},
14741495
{
14751496
"Action": [
1497+
"emr-containers:DescribeManagedEndpoint",
1498+
"emr-containers:DescribeSecurityConfiguration",
1499+
"emr-containers:DescribeVirtualCluster",
1500+
"emr-containers:GetManagedEndpointSessionCredentials",
14761501
"redshift-serverless:GetCredentials",
14771502
"redshift:GetClusterCredentialsWithIAM"
14781503
],
@@ -1483,7 +1508,7 @@
14831508
"aws:ResourceTag/AmazonDataZoneProject": "${aws:PrincipalTag/AmazonDataZoneProject}"
14841509
}
14851510
},
1486-
"Sid": "RedshiftGetCredentials"
1511+
"Sid": "ComputeCredentials"
14871512
},
14881513
{
14891514
"Action": [
@@ -1618,6 +1643,21 @@
16181643
},
16191644
"Sid": "EMRGetClusterSessionCredentials"
16201645
},
1646+
{
1647+
"Action": [
1648+
"sso:DescribeApplication"
1649+
],
1650+
"Resource": "*",
1651+
"Effect": "Allow",
1652+
"Condition": {
1653+
"ForAnyValue:StringLike": {
1654+
"aws:CalledVia": [
1655+
"emr-containers.amazonaws.com"
1656+
]
1657+
}
1658+
},
1659+
"Sid": "EmrContainersSSO"
1660+
},
16211661
{
16221662
"Action": [
16231663
"elasticmapreduce:GetPersistentAppUIPresignedURL"

0 commit comments

Comments
 (0)