CsvClassifierProperty Struct
A classifier for custom CSV content.
Example
ts
// 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,
containsCustomDatatype: ['containsCustomDatatype'],
containsHeader: 'containsHeader',
customDatatypeConfigured: false,
delimiter: 'delimiter',
disableValueTrimming: false,
header: ['header'],
name: 'name',
quoteSymbol: 'quoteSymbol',
};
Properties
allowSingleColumnboolean | IResolvableallow_single_columntyping.Union[bool, IResolvable]allowSingleColumnBooleanAllowSingleColumnboolAllowSingleColumninterface{}#Enables the processing of files that contain only one column.
containsCustomDatatypestring[]contains_custom_datatypetyping.List[str]containsCustomDatatypeList<String>ContainsCustomDatatypestring[]ContainsCustomDatatype*[]*string#Indicates whether the CSV file contains custom data types.
containsHeaderstringcontains_headerstrcontainsHeaderStringContainsHeaderstringContainsHeader*string#Indicates whether the CSV file contains a header.
notes
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.
customDatatypeConfiguredboolean | IResolvablecustom_datatype_configuredtyping.Union[bool, IResolvable]customDatatypeConfiguredBooleanCustomDatatypeConfiguredboolCustomDatatypeConfiguredinterface{}#Enables the configuration of custom data types.
A custom symbol to denote what separates each column entry in the row.
disableValueTrimmingboolean | IResolvabledisable_value_trimmingtyping.Union[bool, IResolvable]disableValueTrimmingBooleanDisableValueTrimmingboolDisableValueTrimminginterface{}#Specifies not to trim values before identifying the type of column values.
The default value is true .
A list of strings representing column names.
The name of the classifier.
A custom symbol to denote what combines content into a single column value.
It must be different from the column delimiter.