ecr-public:DescribeImageTags

List

ecr-public:DescribeImageTags is a List access-level action in the ecr-public service. Grants permission to describe all the image tags for a given repository

Resource types

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

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

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

Related actions in ecr-public

View all ecr-public actions →