aws-cdk-lib.aws_dynamodb.CfnTable.CsvProperty

interface CsvProperty

LanguageType name
.NETAmazon.CDK.AWS.DynamoDB.CfnTable.CsvProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnTable_CsvProperty
Javasoftware.amazon.awscdk.services.dynamodb.CfnTable.CsvProperty
Pythonaws_cdk.aws_dynamodb.CfnTable.CsvProperty
TypeScript aws-cdk-lib » aws_dynamodb » CfnTable » CsvProperty

The options for imported source files in CSV format.

The values are Delimiter and HeaderList.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const csvProperty: dynamodb.CfnTable.CsvProperty = {
  delimiter: 'delimiter',
  headerList: ['headerList'],
};

Properties

NameTypeDescription
delimiter?stringThe delimiter used for separating items in the CSV file being imported.
headerList?string[]List of the headers used to specify a common header for all source CSV files being imported.

delimiter?

Type: string (optional)

The delimiter used for separating items in the CSV file being imported.


headerList?

Type: string[] (optional)

List of the headers used to specify a common header for all source CSV files being imported.

If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.