aws-cdk-lib.aws_databrew.CfnDataset.ExcelOptionsProperty

interface ExcelOptionsProperty

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

Represents a set of options that define how DataBrew will interpret a Microsoft Excel 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 excelOptionsProperty: databrew.CfnDataset.ExcelOptionsProperty = {
  headerRow: false,
  sheetIndexes: [123],
  sheetNames: ['sheetNames'],
};

Properties

NameTypeDescription
headerRow?boolean | IResolvableA variable that specifies whether the first row in the file is parsed as the header.
sheetIndexes?number[] | IResolvableOne or more sheet numbers in the Excel file that will be included in the dataset.
sheetNames?string[]One or more named sheets in the Excel file that will be included in the dataset.

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.


sheetIndexes?

Type: number[] | IResolvable (optional)

One or more sheet numbers in the Excel file that will be included in the dataset.


sheetNames?

Type: string[] (optional)

One or more named sheets in the Excel file that will be included in the dataset.