Interface ICfnSchemaProps
Properties for defining a CfnSchema
.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnSchemaProps
Syntax (vb)
Public Interface ICfnSchemaProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var cfnSchemaProps = new CfnSchemaProps {
Compatibility = "compatibility",
DataFormat = "dataFormat",
Name = "name",
SchemaDefinition = "schemaDefinition",
// the properties below are optional
CheckpointVersion = new SchemaVersionProperty {
IsLatest = false,
VersionNumber = 123
},
Description = "description",
Registry = new RegistryProperty {
Arn = "arn",
Name = "name"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
CheckpointVersion | Specify the |
Compatibility | The compatibility mode of the schema. |
DataFormat | The data format of the schema definition. |
Description | A description of the schema if specified when created. |
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. |
Registry | The registry where a schema is stored. |
SchemaDefinition | The schema definition using the |
Tags | AWS tags that contain a key value pair and may be searched by console, command line, or API. |
Properties
CheckpointVersion
Specify the VersionNumber
or the IsLatest
for setting the checkpoint for the schema.
virtual object CheckpointVersion { get; }
Property Value
System.Object
Remarks
This is only required for updating a checkpoint.
Compatibility
The compatibility mode of the schema.
string Compatibility { get; }
Property Value
System.String
Remarks
DataFormat
The data format of the schema definition.
string DataFormat { get; }
Property Value
System.String
Remarks
Currently only AVRO
is supported.
Description
A description of the schema if specified when created.
virtual string Description { get; }
Property Value
System.String
Remarks
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.
string Name { get; }
Property Value
System.String
Remarks
Registry
The registry where a schema is stored.
virtual object Registry { get; }
Property Value
System.Object
Remarks
SchemaDefinition
The schema definition using the DataFormat
setting for SchemaName
.
string SchemaDefinition { get; }
Property Value
System.String
Remarks
Tags
AWS tags that contain a key value pair and may be searched by console, command line, or API.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]