Interface CfnApplication.InputProperty

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

@Stability(Stable) public static interface CfnApplication.InputProperty extends software.amazon.jsii.JsiiSerializable
When you configure the application input for a SQL-based Kinesis Data Analytics application, you specify the streaming source, the in-application stream name that is created, and the mapping between the two.

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.*;
 InputProperty inputProperty = InputProperty.builder()
         .inputSchema(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())
         .namePrefix("namePrefix")
         // the properties below are optional
         .inputParallelism(InputParallelismProperty.builder()
                 .count(123)
                 .build())
         .inputProcessingConfiguration(InputProcessingConfigurationProperty.builder()
                 .inputLambdaProcessor(InputLambdaProcessorProperty.builder()
                         .resourceArn("resourceArn")
                         .build())
                 .build())
         .kinesisFirehoseInput(KinesisFirehoseInputProperty.builder()
                 .resourceArn("resourceArn")
                 .build())
         .kinesisStreamsInput(KinesisStreamsInputProperty.builder()
                 .resourceArn("resourceArn")
                 .build())
         .build();
 

See Also: