ecr-public:UploadLayerPart

Write

ecr-public:UploadLayerPart is a Write access-level action in the ecr-public service. Grants permission to upload an image layer part to Amazon ECR Public

Resource types

ARNs that ecr-public:UploadLayerPart 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:UploadLayerPart.

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:UploadLayerPart. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in ecr-public

View all ecr-public actions →