Created
October 8, 2020 21:26
-
-
Save thegonch/9a273d8edbb26c8d19069f396f37d4ee to your computer and use it in GitHub Desktop.
Example Dependabot + CodeCommit IAM Policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "0", | |
"Effect": "Allow", | |
"Action": [ | |
"codecommit:CreateBranch", | |
"codecommit:GetCommit", | |
"codecommit:GetRepository", | |
"codecommit:BatchGetCommits", | |
"codecommit:GetBranch", | |
"codecommit:ListPullRequests", | |
"codecommit:GetFolder", | |
"codecommit:CreatePullRequest", | |
"codecommit:CreateCommit", | |
"codecommit:GetPullRequest", | |
"codecommit:GetFile" | |
], | |
"Resource": "arn:aws:codecommit:us-east-1:012345678901:myaws-codecommit-repo", | |
"Condition": { | |
"BoolIfExists": { | |
"aws:MultiFactorAuthPresent": "true" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment