ecr-public:CompleteLayerUpload

Write

ecr-public:CompleteLayerUpload is a Write access-level action in the ecr-public service. Grants permission to inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has completed

Resource types

ARNs that ecr-public:CompleteLayerUpload can be scoped to in an IAM policy.

arn:${Partition}:ecr-public::${Account}:repository/${RepositoryName}
repository

Condition keys

Keys you can use in the Condition block of a policy that grants ecr-public:CompleteLayerUpload.

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value associated with the resource

ecr-public:ResourceTag/${TagKey} String

Filters actions based on tag-value associated with the resource

Example IAM policy

A minimal policy that allows ecr-public:CompleteLayerUpload. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEcrpublicCompleteLayerUpload",
      "Effect": "Allow",
      "Action": "ecr-public:CompleteLayerUpload",
      "Resource": "*"
    }
  ]
}

Related actions in ecr-public

View all ecr-public actions →