AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Glue::Schema

CfnSchema

The `AWS::Glue::Schema` is an AWS Glue resource type that manages schemas in the AWS Glue Schema Registry.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnSchemaProps.

compatibilityRequired
string

The compatibility mode of the schema.

dataFormatRequired
string

The data format of the schema definition. Currently only `AVRO` is supported.

nameRequired
string

Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.

checkpointVersionOptional
IResolvable | SchemaVersionProperty

Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema. This is only required for updating a checkpoint.

descriptionOptional
string

A description of the schema if specified when created.

registryOptional
IResolvable | RegistryProperty

The registry where a schema is stored.

schemaDefinitionOptional
string

The schema definition using the `DataFormat` setting for `SchemaName` .

tagsOptional
CfnTag[]

AWS tags that contain a key value pair and may be searched by console, command line, or API.

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