Class CfnTable.CsvProperty
The options for imported source files in CSV format.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CsvProperty : Object, CfnTable.ICsvProperty
Syntax (vb)
Public Class CsvProperty
Inherits Object
Implements CfnTable.ICsvProperty
Remarks
The values are Delimiter and HeaderList.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-csv.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var csvProperty = new CsvProperty {
Delimiter = "delimiter",
HeaderList = new [] { "headerList" }
};
Synopsis
Constructors
Csv |
Properties
Delimiter | The delimiter used for separating items in the CSV file being imported. |
Header |
List of the headers used to specify a common header for all source CSV files being imported. |
Constructors
CsvProperty()
public CsvProperty()
Properties
Delimiter
The delimiter used for separating items in the CSV file being imported.
public string Delimiter { get; set; }
Property Value
System.
Remarks
HeaderList
List of the headers used to specify a common header for all source CSV files being imported.
public string[] HeaderList { get; set; }
Property Value
System.
Remarks
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.