//////
Search
Duplicate

ECR Access Policy

{ "Version": "2012-10-17", "Statement": [ { "Sid": "GrantSingleImageReadOnlyAccess", "Effect": "Allow", "Action": [ "ecr:BatchCheckLayerAvailability", "ecr:GetDownloadUrlForLayer", "ecr:GetRepositoryPolicy", "ecr:DescribeRepositories", "ecr:ListImages", "ecr:DescribeImages", "ecr:BatchGetImage" ], "Resource": "arn:aws:ecr:${region}:${aws_id}:repository/${img_name}" }, { "Sid": "GrantECRAuthAccess", "Effect": "Allow", "Action": "ecr:GetAuthorizationToken", "Resource": "*" } ] }
Java
복사
region, aws_id, img_name은 각자에 맞게 변경