interface CSVMappingParametersProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisAnalytics.CfnApplicationReferenceDataSource.CSVMappingParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalytics#CfnApplicationReferenceDataSource_CSVMappingParametersProperty |
Java | software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSource.CSVMappingParametersProperty |
Python | aws_cdk.aws_kinesisanalytics.CfnApplicationReferenceDataSource.CSVMappingParametersProperty |
TypeScript | aws-cdk-lib » aws_kinesisanalytics » CfnApplicationReferenceDataSource » CSVMappingParametersProperty |
Provides additional mapping information when the record format uses delimiters, such as CSV.
For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:
"name1", "address1"
"name2", "address2"
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 cSVMappingParametersProperty: kinesisanalytics.CfnApplicationReferenceDataSource.CSVMappingParametersProperty = {
recordColumnDelimiter: 'recordColumnDelimiter',
recordRowDelimiter: 'recordRowDelimiter',
};
Properties
Name | Type | Description |
---|---|---|
record | string | Column delimiter. |
record | string | Row delimiter. |
recordColumnDelimiter
Type:
string
Column delimiter.
For example, in a CSV format, a comma (",") is the typical column delimiter.
recordRowDelimiter
Type:
string
Row delimiter.
For example, in a CSV format, '\n' is the typical row delimiter.