Difference between revisions of "Private repository policy examples in Amazon ECR"

From wikieduonline
Jump to navigation Jump to search
 
Line 27: Line 27:
 
  }
 
  }
  
 
+
== See also ==
 
+
* {{ecr:}}
{{ECR}}
+
* {{ECR}}

Latest revision as of 14:21, 15 July 2024


{
   "Version": "2012-10-17",
   "Statement": [
       {
           "Sid": "AllowPushPull",
           "Effect": "Allow",
           "Principal": {
               "AWS": [
                   "arn:aws:iam::account-id:user/push-pull-user-1",
                   "arn:aws:iam::account-id:user/push-pull-user-2"
               ]
           },
           "Action": [
               "ecr:BatchGetImage",
               "ecr:BatchCheckLayerAvailability",
               "ecr:CompleteLayerUpload",
               "ecr:GetDownloadUrlForLayer",
               "ecr:InitiateLayerUpload",
               "ecr:PutImage",
               "ecr:UploadLayerPart"
           ]
       }
   ]
}

See also[edit]

Advertising: