AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EventSchemas::Schema

CfnSchema

Use the `AWS::EventSchemas::Schema` resource to specify an event schema.

Import

import { CfnSchema } from 'aws-cdk-lib/aws-eventschemas';

Or use the module namespace:

import * as eventschemas from 'aws-cdk-lib/aws-eventschemas';
// eventschemas.CfnSchema

Properties

Configuration passed to the constructor as CfnSchemaProps.

contentRequired
string

The source of the schema definition.

registryNameRequired
string

The name of the schema registry.

typeRequired
string

The type of schema. Valid types include `OpenApi3` and `JSONSchemaDraft4` .

descriptionOptional
string

A description of the schema.

schemaNameOptional
string

The name of the schema.

tagsOptional
TagsEntryProperty[]

Tags associated with the schema.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-eventschemas
CFN TypeAWS::EventSchemas::Schema
Properties6

External Links