Interface CfnApplicationReferenceDataSourceV2.IReferenceSchemaProperty
For a SQL-based Kinesis Data Analytics application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.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 |
RecordEncoding | Specifies the encoding of the records in the streaming source. |
RecordFormat | Specifies the format of the records on the streaming 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 streaming source.
virtual string RecordEncoding { get; }
Property Value
System.String
Remarks
RecordFormat
Specifies the format of the records on the streaming source.
object RecordFormat { get; }
Property Value
System.Object