RecordFormatProperty Struct
For a SQL-based Kinesis Data Analytics application, describes the record format and relevant mapping information that should be applied to schematize the records on the stream.
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 recordFormatProperty: kinesisanalyticsv2.CfnApplicationReferenceDataSource.RecordFormatProperty = {
recordFormatType: 'recordFormatType',
// the properties below are optional
mappingParameters: {
csvMappingParameters: {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
},
jsonMappingParameters: {
recordRowPath: 'recordRowPath',
},
},
};
Properties
mappingParametersoptionalIResolvable | CfnApplicationReferenceDataSource.MappingParametersPropertymapping_parametersoptionaltyping.Union[IResolvable, MappingParametersProperty]mappingParametersoptionalIResolvableMappingParametersoptionalIResolvableMappingParametersoptionalinterface{}#When you configure application 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.
recordFormatTypestringrecord_format_typestrrecordFormatTypeStringRecordFormatTypestringRecordFormatType*stringrequired#The type of record format.