Interface CfnApplicationV2.InputSchemaProperty

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

@Stability(Stable) public static interface CfnApplicationV2.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.kinesisanalytics.*;
 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();