image_referrers
Creates, updates, deletes, gets or lists an image_referrers resource.
Overview
| Name | image_referrers |
| Type | Resource |
| Id | aws.ecr.image_referrers |
Fields
The following fields are returned by SELECT queries:
- list_image_referrers
| Name | Datatype | Description |
|---|---|---|
next_token | string | The nextToken value to include in a future ListImageReferrers request. When the results of a ListImageReferrers request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return. |
referrers | array | The list of artifacts associated with the subject image. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_image_referrers | select | region | Lists the artifacts associated with a specified subject image. The IAM principal invoking this operation must have the ecr:BatchGetImage permission. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_image_referrers
Lists the artifacts associated with a specified subject image. The IAM principal invoking this operation must have the ecr:BatchGetImage permission.
SELECT
next_token,
referrers
FROM aws.ecr.image_referrers
WHERE region = '{{ region }}' -- required
;