Skip to main content

registry_catalog_datas

Creates, updates, deletes, gets or lists a registry_catalog_datas resource.

Overview

Nameregistry_catalog_datas
TypeResource
Idaws.ecr_public.registry_catalog_datas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
display_namestringThe display name for a public registry. This appears on the Amazon ECR Public Gallery. Only accounts that have the verified account badge can have a registry display name.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_registry_catalog_dataselectregionRetrieves catalog metadata for a public registry.
put_registry_catalog_datareplaceregionCreate or update the catalog data for a public registry.

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

Retrieves catalog metadata for a public registry.

SELECT
display_name
FROM aws.ecr_public.registry_catalog_datas
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Create or update the catalog data for a public registry.

REPLACE aws.ecr_public.registry_catalog_datas
SET
displayName = '{{ displayName }}'
WHERE
region = '{{ region }}' --required
RETURNING
registry_catalog_data;