Interface CfnDataset.ISchemaProperty
The schema of the dataset.
Namespace: Amazon.CDK.AWS.SCN
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDataset.ISchemaProperty
Syntax (vb)
Public Interface CfnDataset.ISchemaProperty
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-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.SCN;
var schemaProperty = new SchemaProperty {
Fields = new [] { new DataLakeDatasetSchemaFieldProperty {
IsRequired = false,
Name = "name",
Type = "type"
} },
Name = "name",
// the properties below are optional
PrimaryKeys = new [] { new DataLakeDatasetPrimaryKeyFieldProperty {
Name = "name"
} }
};
Synopsis
Properties
| Fields | The list of field details of the dataset schema. |
| Name | The name of the dataset schema. |
| PrimaryKeys | The list of primary key fields for the dataset. |
Properties
Fields
The list of field details of the dataset schema.
object Fields { get; }
Property Value
Remarks
Name
The name of the dataset schema.
string Name { get; }
Property Value
Remarks
PrimaryKeys
The list of primary key fields for the dataset.
object? PrimaryKeys { get; }