Skip to main content

registries

Creates, updates, deletes or gets a registry resource or lists registries in a region

Overview

Nameregistries
TypeResource
DescriptionResource Type definition for AWS::EventSchemas::Registry
Idawscc.eventschemas.registries

Fields

NameDatatypeDescription
registry_namestringThe name of the schema registry.
descriptionstringA description of the registry to be created.
registry_arnstringThe ARN of the registry.
tagsarrayTags associated with the resource.
regionstringAWS region.

For more information, see AWS::EventSchemas::Registry.

Methods

NameResourceAccessible byRequired Params
create_resourceregistriesINSERTregion
delete_resourceregistriesDELETEIdentifier, region
update_resourceregistriesUPDATEIdentifier, PatchDocument, region
list_resourcesregistries_list_onlySELECTregion
get_resourceregistriesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual registry.

SELECT
region,
registry_name,
description,
registry_arn,
tags
FROM awscc.eventschemas.registries
WHERE
region = 'us-east-1' AND
Identifier = '{{ registry_arn }}';

INSERT example

Use the following StackQL query and manifest file to create a new registry resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.eventschemas.registries (
RegistryName,
Description,
Tags,
region
)
SELECT
'{{ registry_name }}',
'{{ description }}',
'{{ tags }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a registry resource, using stack-deploy.

/*+ update */
UPDATE awscc.eventschemas.registries
SET PatchDocument = string('{{ {
"Description": description,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ registry_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.eventschemas.registries
WHERE
Identifier = '{{ registry_arn }}' AND
region = 'us-east-1';

Permissions

To operate on the registries resource, the following permissions are required:

schemas:DescribeRegistry,
schemas:CreateRegistry,
schemas:TagResource