interface InputSchemaProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.KinesisAnalytics.CfnApplicationV2.InputSchemaProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalytics#CfnApplicationV2_InputSchemaProperty |
![]() | software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.InputSchemaProperty |
![]() | aws_cdk.aws_kinesisanalytics.CfnApplicationV2.InputSchemaProperty |
![]() | aws-cdk-lib » aws_kinesisanalytics » 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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const inputSchemaProperty: kinesisanalytics.CfnApplicationV2.InputSchemaProperty = {
recordColumns: [{
name: 'name',
sqlType: 'sqlType',
// the properties below are optional
mapping: 'mapping',
}],
recordFormat: {
recordFormatType: 'recordFormatType',
// the properties below are optional
mappingParameters: {
csvMappingParameters: {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
},
jsonMappingParameters: {
recordRowPath: 'recordRowPath',
},
},
},
// the properties below are optional
recordEncoding: 'recordEncoding',
};
Properties
Name | Type | Description |
---|---|---|
record | IResolvable | IResolvable | Record [] | A list of RecordColumn objects. |
record | IResolvable | Record | Specifies the format of the records on the streaming source. |
record | string | Specifies the encoding of the records in the streaming source. |
recordColumns
Type:
IResolvable
|
IResolvable
|
Record
[]
A list of RecordColumn
objects.
recordFormat
Type:
IResolvable
|
Record
Specifies the format of the records on the streaming source.
recordEncoding?
Type:
string
(optional)
Specifies the encoding of the records in the streaming source.
For example, UTF-8.