interface CfnSchemaProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnSchemaProps |
Java | software.amazon.awscdk.services.glue.CfnSchemaProps |
Python | aws_cdk.aws_glue.CfnSchemaProps |
TypeScript | @aws-cdk/aws-glue » CfnSchemaProps |
Properties for defining a CfnSchema
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue from '@aws-cdk/aws-glue';
const cfnSchemaProps: glue.CfnSchemaProps = {
compatibility: 'compatibility',
dataFormat: 'dataFormat',
name: 'name',
schemaDefinition: 'schemaDefinition',
// the properties below are optional
checkpointVersion: {
isLatest: false,
versionNumber: 123,
},
description: 'description',
registry: {
arn: 'arn',
name: 'name',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
compatibility | string | The compatibility mode of the schema. |
data | string | The data format of the schema definition. |
name | 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. |
schema | string | The schema definition using the DataFormat setting for SchemaName . |
checkpoint | IResolvable | Schema | Specify the VersionNumber or the IsLatest for setting the checkpoint for the schema. |
description? | string | A description of the schema if specified when created. |
registry? | IResolvable | Registry | The registry where a schema is stored. |
tags? | Cfn [] | AWS tags that contain a key value pair and may be searched by console, command line, or API. |
compatibility
Type:
string
The compatibility mode of the schema.
dataFormat
Type:
string
The data format of the schema definition.
Currently only AVRO
is supported.
name
Type:
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.
schemaDefinition
Type:
string
The schema definition using the DataFormat
setting for SchemaName
.
checkpointVersion?
Type:
IResolvable
|
Schema
(optional)
Specify the VersionNumber
or the IsLatest
for setting the checkpoint for the schema.
This is only required for updating a checkpoint.
description?
Type:
string
(optional)
A description of the schema if specified when created.
registry?
Type:
IResolvable
|
Registry
(optional)
The registry where a schema is stored.
tags?
Type:
Cfn
[]
(optional)
AWS tags that contain a key value pair and may be searched by console, command line, or API.