Interface CfnApplicationReferenceDataSource.IReferenceSchemaProperty
The ReferenceSchema property type specifies the format of the data in the reference source for a SQL-based Amazon Kinesis Data Analytics application.
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.AWS.KinesisAnalytics.dll
Syntax (csharp)
public interface IReferenceSchemaProperty
Syntax (vb)
Public Interface IReferenceSchemaProperty
Remarks
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.KinesisAnalytics;
var referenceSchemaProperty = new ReferenceSchemaProperty {
RecordColumns = new [] { new RecordColumnProperty {
Name = "name",
SqlType = "sqlType",
// the properties below are optional
Mapping = "mapping"
} },
RecordFormat = new RecordFormatProperty {
RecordFormatType = "recordFormatType",
// the properties below are optional
MappingParameters = new MappingParametersProperty {
CsvMappingParameters = new CSVMappingParametersProperty {
RecordColumnDelimiter = "recordColumnDelimiter",
RecordRowDelimiter = "recordRowDelimiter"
},
JsonMappingParameters = new JSONMappingParametersProperty {
RecordRowPath = "recordRowPath"
}
}
},
// the properties below are optional
RecordEncoding = "recordEncoding"
};
Synopsis
Properties
RecordColumns | A list of RecordColumn objects. |
RecordEncoding | Specifies the encoding of the records in the reference source. |
RecordFormat | Specifies the format of the records on the reference source. |
Properties
RecordColumns
A list of RecordColumn objects.
object RecordColumns { get; }
Property Value
System.Object
Remarks
RecordEncoding
Specifies the encoding of the records in the reference source.
virtual string RecordEncoding { get; }
Property Value
System.String
Remarks
RecordFormat
Specifies the format of the records on the reference source.
object RecordFormat { get; }
Property Value
System.Object