AWS::Glue::Schema
The AWS::Glue::Schema
is an AWS Glue resource type that manages schemas in the AWS Glue Schema Registry.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Glue::Schema", "Properties" : { "CheckpointVersion" :
SchemaVersion
, "Compatibility" :String
, "DataFormat" :String
, "Description" :String
, "Name" :String
, "Registry" :Registry
, "SchemaDefinition" :String
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::Glue::Schema Properties: CheckpointVersion:
SchemaVersion
Compatibility:String
DataFormat:String
Description:String
Name:String
Registry:Registry
SchemaDefinition:String
Tags:- Tag
Properties
CheckpointVersion
-
Specify the
VersionNumber
or theIsLatest
for setting the checkpoint for the schema. This is only required for updating a checkpoint.Required: No
Type: SchemaVersion
Update requires: No interruption
Compatibility
-
The compatibility mode of the schema.
Required: Yes
Type: String
Allowed values:
NONE | DISABLED | BACKWARD | BACKWARD_ALL | FORWARD | FORWARD_ALL | FULL | FULL_ALL
Update requires: No interruption
DataFormat
-
The data format of the schema definition. Currently only
AVRO
is supported.Required: Yes
Type: String
Allowed values:
AVRO | JSON | PROTOBUF
Update requires: Replacement
Description
-
A description of the schema if specified when created.
Required: No
Type: String
Minimum:
0
Maximum:
1000
Update requires: No interruption
Name
-
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.
Required: Yes
Type: String
Minimum:
1
Maximum:
255
Update requires: Replacement
Registry
-
The registry where a schema is stored.
Required: No
Type: Registry
Update requires: Replacement
SchemaDefinition
-
The schema definition using the
DataFormat
setting forSchemaName
.Required: No
Type: String
Minimum:
1
Maximum:
170000
Update requires: Replacement
-
AWS tags that contain a key value pair and may be searched by console, command line, or API.
Required: No
Type: Array of Tag
Minimum:
0
Maximum:
10
Update requires: No interruption
Return values
Ref
Fn::GetAtt
Arn
-
The Amazon Resource Name (ARN) of the schema.
InitialSchemaVersionId
Property description not available.