schema
Gets an individual schema
resource
Overview
Name | schema |
Type | Resource |
Description | schema |
Id | awscc.eventschemas.schema |
Fields
Name | Datatype | Description |
---|---|---|
type | string | The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4. |
description | string | A description of the schema. |
schema_version | string | The version number of the schema. |
content | string | The source of the schema definition. |
registry_name | string | The name of the schema registry. |
schema_arn | string | The ARN of the schema. |
schema_name | string | The name of the schema. |
last_modified | string | The last modified time of the schema. |
version_created_date | string | The date the schema version was created. |
tags | array | Tags associated with the resource. |
region | string | AWS 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