Interface CfnApplication.IInputSchemaProperty
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.KinesisAnalyticsV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInputSchemaProperty
Syntax (vb)
Public Interface IInputSchemaProperty
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.KinesisAnalyticsV2;
var inputSchemaProperty = new InputSchemaProperty {
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
Record |
A list of |
Record |
Specifies the encoding of the records in the streaming source. |
Record |
Specifies the format of the records on the streaming source. |
Properties
RecordColumns
A list of RecordColumn
objects.
object RecordColumns { get; }
Property Value
System.
Remarks
RecordEncoding
Specifies the encoding of the records in the streaming source.
virtual string RecordEncoding { get; }
Property Value
System.
Remarks
RecordFormat
Specifies the format of the records on the streaming source.
object RecordFormat { get; }
Property Value
System.