Class CfnSchemaProps
Properties for defining a CfnSchema
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class CfnSchemaProps : Object, ICfnSchemaProps
Syntax (vb)
Public Class CfnSchemaProps
Inherits Object
Implements ICfnSchemaProps
Remarks
Link: 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
Constructors
CfnSchemaProps() |
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. |
Constructors
CfnSchemaProps()
public CfnSchemaProps()
Properties
CheckpointVersion
Specify the VersionNumber
or the IsLatest
for setting the checkpoint for the schema.
public object CheckpointVersion { get; set; }
Property Value
System.Object
Remarks
This is only required for updating a checkpoint.
Compatibility
The compatibility mode of the schema.
public string Compatibility { get; set; }
Property Value
System.String
Remarks
DataFormat
The data format of the schema definition.
public string DataFormat { get; set; }
Property Value
System.String
Remarks
Currently only AVRO
is supported.
Description
A description of the schema if specified when created.
public string Description { get; set; }
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.
public string Name { get; set; }
Property Value
System.String
Remarks
Registry
The registry where a schema is stored.
public object Registry { get; set; }
Property Value
System.Object
Remarks
SchemaDefinition
The schema definition using the DataFormat
setting for SchemaName
.
public string SchemaDefinition { get; set; }
Property Value
System.String
Remarks
Tags
AWS tags that contain a key value pair and may be searched by console, command line, or API.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]