Skip to main content

schema

Gets an individual schema resource

Overview

Nameschema
TypeResource
Descriptionschema
Idawscc.eventschemas.schema

Fields

NameDatatypeDescription
typestringThe type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
descriptionstringA description of the schema.
schema_versionstringThe version number of the schema.
contentstringThe source of the schema definition.
registry_namestringThe name of the schema registry.
schema_arnstringThe ARN of the schema.
schema_namestringThe name of the schema.
last_modifiedstringThe last modified time of the schema.
version_created_datestringThe date the schema version was created.
tagsarrayTags associated with the resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
type,
description,
schema_version,
content,
registry_name,
schema_arn,
schema_name,
last_modified,
version_created_date,
tags
FROM awscc.eventschemas.schema
WHERE data__Identifier = '<SchemaArn>';

Permissions

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

Read

schemas:DescribeSchema

Update

schemas:DescribeSchema,
schemas:UpdateSchema,
schemas:TagResource,
schemas:UntagResource,
schemas:ListTagsForResource

Delete

schemas:DescribeSchema,
schemas:DeleteSchema,
schemas:DeleteSchemaVersion