interface RecordFormatProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisAnalyticsV2.CfnApplication.RecordFormatProperty |
Java | software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.RecordFormatProperty |
Python | aws_cdk.aws_kinesisanalyticsv2.CfnApplication.RecordFormatProperty |
TypeScript | @aws-cdk/aws-kinesisanalyticsv2 » CfnApplication » RecordFormatProperty |
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
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kinesisanalyticsv2 from '@aws-cdk/aws-kinesisanalyticsv2';
const recordFormatProperty: kinesisanalyticsv2.CfnApplication.RecordFormatProperty = {
recordFormatType: 'recordFormatType',
// the properties below are optional
mappingParameters: {
csvMappingParameters: {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
},
jsonMappingParameters: {
recordRowPath: 'recordRowPath',
},
},
};
Properties
Name | Type | Description |
---|---|---|
record | string | The type of record format. |
mapping | IResolvable | Mapping | 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. |
recordFormatType
Type:
string
The type of record format.
mappingParameters?
Type:
IResolvable
|
Mapping
(optional)
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.