Interface CfnApplication.InputSchemaProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApplication.InputSchemaProperty.Jsii$Proxy
Enclosing class:
CfnApplication

@Stability(Stable) public static interface CfnApplication.InputSchemaProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.kinesisanalyticsv2.*;
 InputSchemaProperty inputSchemaProperty = InputSchemaProperty.builder()
         .recordColumns(List.of(RecordColumnProperty.builder()
                 .name("name")
                 .sqlType("sqlType")
                 // the properties below are optional
                 .mapping("mapping")
                 .build()))
         .recordFormat(RecordFormatProperty.builder()
                 .recordFormatType("recordFormatType")
                 // the properties below are optional
                 .mappingParameters(MappingParametersProperty.builder()
                         .csvMappingParameters(CSVMappingParametersProperty.builder()
                                 .recordColumnDelimiter("recordColumnDelimiter")
                                 .recordRowDelimiter("recordRowDelimiter")
                                 .build())
                         .jsonMappingParameters(JSONMappingParametersProperty.builder()
                                 .recordRowPath("recordRowPath")
                                 .build())
                         .build())
                 .build())
         // the properties below are optional
         .recordEncoding("recordEncoding")
         .build();