interface CsvProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DynamoDB.CfnTable.CsvProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnTable_CsvProperty |
Java | software.amazon.awscdk.services.dynamodb.CfnTable.CsvProperty |
Python | aws_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.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-csv.html
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
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.