Skip to main content

aws.ecr.image

Supported platform

  • aws

Description

AWS Elastic Container Registry image

Use the aws.ecr.image resource to assess a container image stored in an Amazon Elastic Container Registry.

Fields

IDTYPEDESCRIPTION
digeststringSHA256 of the image manifest
mediaTypestringType of image manifest
tags[]stringList of tags associated with image
registryIdstringAWS account ID associated with public registry for this image
repoNamestringName of the repository for the image
regionstringRegion where the ECR image is located
arnstringARN for the image
uristringuri for the image repository
pushedAttimeTime the image was pushed
sizeInBytesintSize of the image in bytes
lastRecordedPullTimetimeTime of the most recent image pull (Amazon only refreshes this data once every 24 hours.)

Examples

Return a list of aws.ecr.image resources representing the images stored in public repositories.

aws.ecr {
publicRepositories {
images {
digest
repoName
tags
}
}
}