aws-cdk-lib.aws_kinesisanalyticsv2.CfnApplication.CSVMappingParametersProperty

interface CSVMappingParametersProperty

LanguageType name
.NETAmazon.CDK.AWS.KinesisAnalyticsV2.CfnApplication.CSVMappingParametersProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalyticsv2#CfnApplication_CSVMappingParametersProperty
Javasoftware.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.CSVMappingParametersProperty
Pythonaws_cdk.aws_kinesisanalyticsv2.CfnApplication.CSVMappingParametersProperty
TypeScript aws-cdk-lib » aws_kinesisanalyticsv2 » CfnApplication » CSVMappingParametersProperty

For a SQL-based Kinesis Data Analytics application, 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_kinesisanalyticsv2 as kinesisanalyticsv2 } from 'aws-cdk-lib';
const cSVMappingParametersProperty: kinesisanalyticsv2.CfnApplication.CSVMappingParametersProperty = {
  recordColumnDelimiter: 'recordColumnDelimiter',
  recordRowDelimiter: 'recordRowDelimiter',
};

Properties

NameTypeDescription
recordColumnDelimiterstringThe column delimiter.
recordRowDelimiterstringThe row delimiter.

recordColumnDelimiter

Type: string

The column delimiter.

For example, in a CSV format, a comma (",") is the typical column delimiter.


recordRowDelimiter

Type: string

The row delimiter.

For example, in a CSV format, '\n' is the typical row delimiter.