ecr-public:DescribeImages

Read

ecr-public:DescribeImages is a Read access-level action in the ecr-public service. Grants permission to get metadata about the images in a repository, including image size, image tags, and creation date

Resource types

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

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

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

Related actions in ecr-public

View all ecr-public actions →