aws-cdk-lib.aws_glue.CfnClassifier.CsvClassifierProperty

interface CsvClassifierProperty

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnClassifier.CsvClassifierProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnClassifier_CsvClassifierProperty
Javasoftware.amazon.awscdk.services.glue.CfnClassifier.CsvClassifierProperty
Pythonaws_cdk.aws_glue.CfnClassifier.CsvClassifierProperty
TypeScript aws-cdk-lib » aws_glue » CfnClassifier » CsvClassifierProperty

A classifier for custom CSV content.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const csvClassifierProperty: glue.CfnClassifier.CsvClassifierProperty = {
  allowSingleColumn: false,
  containsHeader: 'containsHeader',
  delimiter: 'delimiter',
  disableValueTrimming: false,
  header: ['header'],
  name: 'name',
  quoteSymbol: 'quoteSymbol',
};

Properties

NameTypeDescription
allowSingleColumn?boolean | IResolvableEnables the processing of files that contain only one column.
containsHeader?stringIndicates whether the CSV file contains a header.
delimiter?stringA custom symbol to denote what separates each column entry in the row.
disableValueTrimming?boolean | IResolvableSpecifies not to trim values before identifying the type of column values.
header?string[]A list of strings representing column names.
name?stringThe name of the classifier.
quoteSymbol?stringA custom symbol to denote what combines content into a single column value.

allowSingleColumn?

Type: boolean | IResolvable (optional)

Enables the processing of files that contain only one column.


containsHeader?

Type: string (optional)

Indicates whether the CSV file contains a header.

A value of UNKNOWN specifies that the classifier will detect whether the CSV file contains headings.

A value of PRESENT specifies that the CSV file contains headings.

A value of ABSENT specifies that the CSV file does not contain headings.


delimiter?

Type: string (optional)

A custom symbol to denote what separates each column entry in the row.


disableValueTrimming?

Type: boolean | IResolvable (optional)

Specifies not to trim values before identifying the type of column values.

The default value is true .


header?

Type: string[] (optional)

A list of strings representing column names.


name?

Type: string (optional)

The name of the classifier.


quoteSymbol?

Type: string (optional)

A custom symbol to denote what combines content into a single column value.

It must be different from the column delimiter.