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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApplication.InputSchemaProperty
static final class
An implementation forCfnApplication.InputSchemaProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRecordColumns
A list ofRecordColumn
objects.- See Also:
-
getRecordFormat
Specifies the format of the records on the streaming source.- See Also:
-
getRecordEncoding
Specifies the encoding of the records in the streaming source.For example, UTF-8.
- See Also:
-
builder
-