# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.ecr_image.dataset.md

---
title: ECR Image
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > ECR Image
---

# ECR Image

This table represents the ECR Image resource from Amazon Web Services.

```
aws.ecr_image
```

## Fields

| Title                       | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | Description |
| --------------------------- | ---- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                        | core | string        |
| account_id                  | core | string        |
| artifact_media_type         | core | string        | The artifact media type of the image.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| image_arn                   | core | string        |
| image_digest                | core | string        | The <code>sha256</code> digest of the image manifest.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| image_id                    | core | string        |
| image_manifest_media_type   | core | string        | The media type of the image manifest.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| image_pushed_at             | core | timestamp     | The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| image_scan_findings_summary | core | json          | A summary of the last completed image scan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| image_scan_status           | core | json          | The current state of the scan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| image_size_in_bytes         | core | int64         | The size, in bytes, of the image in the repository. If the image is a manifest list, this will be the max size of all manifests in the list. <note> Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the <code>docker images</code> command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by <a>DescribeImages</a>. </note>                                                                                                                                |
| image_tags                  | core | array<string> | The list of tags associated with this image.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| last_recorded_pull_time     | core | timestamp     | The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull. <note> Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an image once a day then the <code>lastRecordedPullTime</code> timestamp will indicate the exact time that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the <code>lastRecordedPullTime</code> timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled. </note> |
| registry_id                 | core | string        | The Amazon Web Services account ID associated with the registry to which this image belongs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| repository_name             | core | string        | The name of the repository to which this image belongs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| tags                        | core | hstore_csv    |