Skip to content

Commit

Permalink
Merge pull request #1067 from udondan/update-aws-managed-policies
Browse files Browse the repository at this point in the history
  • Loading branch information
udondan authored Jan 11, 2025
2 parents 1b3aa2f + 69ffeca commit 0c227a2
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"Effect": "Allow",
"Action": [
"cleanrooms:GetCollaboration",
"cleanrooms:BatchGetSchema",
"cleanrooms:GetConfiguredAudienceModelAssociation",
"cleanrooms:GetMembership",
"cleanrooms:ListAnalysisTemplates",
Expand Down Expand Up @@ -146,6 +147,24 @@
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::*cleanrooms-ml*"
},
{
"Sid": "ConsoleDescribeECRRepositories",
"Effect": "Allow",
"Action": [
"ecr:DescribeRepositories",
"ecr:ListImages"
],
"Resource": "arn:aws:ecr:*:*:repository/*"
},
{
"Sid": "PassCleanRoomsResources",
"Effect": "Allow",
"Action": [
"cleanrooms:PassMembership",
"cleanrooms:PassCollaboration"
],
"Resource": "*"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@
"cleanrooms-ml:List*"
],
"Resource": "*"
},
{
"Sid": "PassCleanRoomsResources",
"Effect": "Allow",
"Action": [
"cleanrooms:PassMembership",
"cleanrooms:PassCollaboration"
],
"Resource": "*"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@
],
"Resource": "*",
"Condition": {
"StringLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*"
"ArnLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*:*:*"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@
],
"Resource": "*",
"Condition": {
"StringLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*"
"ArnLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*:*:*"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
],
"Resource": "*",
"Condition": {
"StringLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*"
"ArnLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*:*:*"
}
}
},
Expand Down

0 comments on commit 0c227a2

Please sign in to comment.