interface CsvProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DynamoDB.CfnTable.CsvProperty |
Java | software.amazon.awscdk.services.dynamodb.CfnTable.CsvProperty |
Python | aws_cdk.aws_dynamodb.CfnTable.CsvProperty |
TypeScript | @aws-cdk/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 * as dynamodb from '@aws-cdk/aws-dynamodb';
const csvProperty: dynamodb.CfnTable.CsvProperty = {
delimiter: 'delimiter',
headerList: ['headerList'],
};
Properties
Name | Type | Description |
---|---|---|
delimiter? | string | The delimiter used for separating items in the CSV file being imported. |
header | 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.