aws-cdk-lib.aws_databrew.CfnDataset.CsvOptionsProperty

interface CsvOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.DataBrew.CfnDataset.CsvOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatabrew#CfnDataset_CsvOptionsProperty
Javasoftware.amazon.awscdk.services.databrew.CfnDataset.CsvOptionsProperty
Pythonaws_cdk.aws_databrew.CfnDataset.CsvOptionsProperty
TypeScript aws-cdk-lib » aws_databrew » CfnDataset » CsvOptionsProperty

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

// 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

NameTypeDescription
delimiter?stringA single character that specifies the delimiter being used in the CSV file.
headerRow?boolean | IResolvableA variable that specifies whether the first row in the file is parsed as the header.

delimiter?

Type: string (optional)

A single character that specifies the delimiter being used in the CSV file.


headerRow?

Type: boolean | IResolvable (optional)

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.