Skip to content

Commit 492f913

Browse files
authored
Merge pull request #2200 from udondan/update-aws-managed-policies
2 parents 50d8b53 + fae97dc commit 492f913

4 files changed

Lines changed: 49 additions & 10 deletions

File tree

docs/source/_static/managed-policies/AWSBackupServiceRolePolicyForS3Backup.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@
8080
"Action": "s3:ListAllMyBuckets",
8181
"Resource": "*"
8282
},
83+
{
84+
"Sid": "S3BucketTagReadPermissions",
85+
"Effect": "Allow",
86+
"Action": [
87+
"s3:ListTagsForResource"
88+
],
89+
"Resource": "arn:aws:s3:::*",
90+
"Condition": {
91+
"StringEquals": {
92+
"aws:PrincipalAccount": "${aws:ResourceAccount}"
93+
}
94+
}
95+
},
8396
{
8497
"Sid": "RecoveryPointTaggingPermissions",
8598
"Effect": "Allow",

docs/source/_static/managed-policies/AWSSupportPlansFullAccess.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,32 @@
88
"supportplans:GetSupportPlanUpdateStatus",
99
"supportplans:ListSupportPlanModifiers",
1010
"supportplans:StartSupportPlanUpdate",
11-
"supportplans:CreateSupportPlanSchedule"
11+
"supportplans:CreateSupportPlanSchedule",
12+
"supportplans:AcceptSupportAgreement",
13+
"supportplans:CancelSupportAgreement",
14+
"supportplans:CreateSupportAgreement",
15+
"supportplans:GetSupportAgreement",
16+
"supportplans:ListSupportAgreements",
17+
"supportplans:ListSupportAgreementRevisions",
18+
"supportplans:RejectSupportAgreement",
19+
"supportplans:UpdateSupportAgreement"
1220
],
1321
"Resource": "*"
22+
},
23+
{
24+
"Effect": "Allow",
25+
"Action": "iam:CreateServiceLinkedRole",
26+
"Resource": "arn:aws:iam::*:role/aws-service-role/supportplans.amazonaws.com/AWSServiceRoleForSupportPlans",
27+
"Condition": {
28+
"StringEquals": {
29+
"iam:AWSServiceName": "supportplans.amazonaws.com"
30+
}
31+
}
32+
},
33+
{
34+
"Effect": "Allow",
35+
"Action": "iam:GetRole",
36+
"Resource": "arn:aws:iam::*:role/aws-service-role/supportplans.amazonaws.com/AWSServiceRoleForSupportPlans"
1437
}
1538
]
1639
}

docs/source/_static/managed-policies/AWSSupportPlansReadOnlyAccess.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"Action": [
77
"supportplans:GetSupportPlan",
88
"supportplans:GetSupportPlanUpdateStatus",
9-
"supportplans:ListSupportPlanModifiers"
9+
"supportplans:ListSupportPlanModifiers",
10+
"supportplans:GetSupportAgreement",
11+
"supportplans:ListSupportAgreements",
12+
"supportplans:ListSupportAgreementRevisions"
1013
],
1114
"Resource": "*"
1215
}

docs/source/_static/managed-policies/SageMakerStudioProjectProvisioningRolePolicy.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"Effect": "Allow",
77
"Action": [
88
"cloudformation:CreateStack",
9-
"cloudformation:TagResource"
9+
"cloudformation:TagResource",
10+
"cloudformation:UntagResource"
1011
],
1112
"Resource": [
1213
"arn:aws:cloudformation:*:*:stack/DataZone*"
@@ -1948,15 +1949,14 @@
19481949
}
19491950
},
19501951
{
1951-
"Sid": "SMAppDelete",
1952+
"Sid": "SMApp",
19521953
"Effect": "Allow",
1953-
"Action": "sagemaker:DeleteApp",
1954-
"Resource": [
1955-
"arn:aws:sagemaker:*:*:app/*/*/codeeditor/*",
1956-
"arn:aws:sagemaker:*:*:app/*/*/CodeEditor/*",
1957-
"arn:aws:sagemaker:*:*:app/*/*/jupyterlab/*",
1958-
"arn:aws:sagemaker:*:*:app/*/*/JupyterLab/*"
1954+
"Action": [
1955+
"sagemaker:CreateApp",
1956+
"sagemaker:AddTags",
1957+
"sagemaker:DeleteApp"
19591958
],
1959+
"Resource": "arn:aws:sagemaker:*:*:app/*",
19601960
"Condition": {
19611961
"Null": {
19621962
"aws:ResourceTag/AmazonDataZoneProject": "false"

0 commit comments

Comments
 (0)