Skip to main content

image_referrers

Creates, updates, deletes, gets or lists an image_referrers resource.

Overview

Nameimage_referrers
TypeResource
Idaws.ecr.image_referrers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe 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.
referrersarrayThe list of artifacts associated with the subject image.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_image_referrersselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;