Skip to content
v2.275.0

CsvOptionsProperty Struct ​

Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const csvOptionsProperty: databrew.CfnDataset.CsvOptionsProperty = {
  delimiter: 'delimiter',
  headerRow: false,
};

Properties ​

delimiteroptionalstringdelimiteroptionalstrdelimiteroptionalStringDelimiteroptionalstringDelimiteroptional*string#
A single character that specifies the delimiter being used in the CSV file.
headerRowoptionalboolean | IResolvableheader_rowoptionaltyping.Union[bool, IResolvable]headerRowoptionalBooleanHeaderRowoptionalboolHeaderRowoptionalinterface{}#
A variable that specifies whether the first row in the file is parsed as the header.

If this value is false, column names are auto-generated.