registry_catalog_datas
Creates, updates, deletes, gets or lists a registry_catalog_datas resource.
Overview
| Name | registry_catalog_datas |
| Type | Resource |
| Id | aws.ecr_public.registry_catalog_datas |
Fields
The following fields are returned by SELECT queries:
- get_registry_catalog_data
| Name | Datatype | Description |
|---|---|---|
display_name | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_registry_catalog_data | select | region | Retrieves catalog metadata for a public registry. | |
put_registry_catalog_data | replace | region | Create 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_registry_catalog_data
Retrieves catalog metadata for a public registry.
SELECT
display_name
FROM aws.ecr_public.registry_catalog_datas
WHERE region = '{{ region }}' -- required
;
REPLACE examples
- put_registry_catalog_data
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;