MappingParametersProperty Struct
When you configure a SQL-based Kinesis Data Analytics application's input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalyticsv2 as kinesisanalyticsv2 } from 'aws-cdk-lib';
const mappingParametersProperty: kinesisanalyticsv2.CfnApplicationReferenceDataSource.MappingParametersProperty = {
csvMappingParameters: {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
},
jsonMappingParameters: {
recordRowPath: 'recordRowPath',
},
};
Properties
csvMappingParametersIResolvable | CfnApplicationReferenceDataSource.CSVMappingParametersPropertycsv_mapping_parameterstyping.Union[IResolvable, CSVMappingParametersProperty]csvMappingParametersIResolvableCsvMappingParametersIResolvableCsvMappingParametersinterface{}#Provides additional mapping information when the record format uses delimiters (for example, CSV).
jsonMappingParametersIResolvable | CfnApplicationReferenceDataSource.JSONMappingParametersPropertyjson_mapping_parameterstyping.Union[IResolvable, JSONMappingParametersProperty]jsonMappingParametersIResolvableJsonMappingParametersIResolvableJsonMappingParametersinterface{}#Provides additional mapping information when JSON is the record format on the streaming source.