Created
December 16, 2020 04:09
-
-
Save McKlayne/db29a2243e489b0a7f4f0a19274a03ab to your computer and use it in GitHub Desktop.
This file contains hidden or 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": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "new statement", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
***Your AWS Entities | |
] | |
}, | |
"Action": [ | |
"ecr:CompleteLayerUpload", | |
"ecr:InitiateLayerUpload", | |
"ecr:PutImage", | |
"ecr:UploadLayerPart" | |
] | |
}, | |
{ | |
"Sid": "LambdaECRImageRetrievalPolicy", | |
"Effect": "Allow", | |
"Principal": { | |
"Service": "lambda.amazonaws.com" | |
}, | |
"Action": [ | |
"ecr:BatchGetImage", | |
"ecr:DeleteRepositoryPolicy", | |
"ecr:GetDownloadUrlForLayer", | |
"ecr:GetRepositoryPolicy", | |
"ecr:SetRepositoryPolicy" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment