Class CfnApplicationV2.InputSchemaProperty
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.
Inheritance
System.Object
CfnApplicationV2.InputSchemaProperty
Implements
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InputSchemaProperty : Object, CfnApplicationV2.IInputSchemaProperty
Syntax (vb)
Public Class InputSchemaProperty
Inherits Object
Implements CfnApplicationV2.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.KinesisAnalytics;
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
Constructors
InputSchemaProperty() |
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. |
Constructors
InputSchemaProperty()
public InputSchemaProperty()
Properties
RecordColumns
A list of RecordColumn
objects.
public object RecordColumns { get; set; }
Property Value
System.Object
Remarks
RecordEncoding
Specifies the encoding of the records in the streaming source.
public string RecordEncoding { get; set; }
Property Value
System.String
Remarks
RecordFormat
Specifies the format of the records on the streaming source.
public object RecordFormat { get; set; }
Property Value
System.Object