CfnClassifierProps
- class aws_cdk.aws_glue.CfnClassifierProps(*, csv_classifier=None, grok_classifier=None, json_classifier=None, xml_classifier=None)
Bases:
object
Properties for defining a
CfnClassifier
.- Parameters:
csv_classifier (
Union
[IResolvable
,CsvClassifierProperty
,Dict
[str
,Any
],None
]) – A classifier for comma-separated values (CSV).grok_classifier (
Union
[IResolvable
,GrokClassifierProperty
,Dict
[str
,Any
],None
]) – A classifier that usesgrok
.json_classifier (
Union
[IResolvable
,JsonClassifierProperty
,Dict
[str
,Any
],None
]) – A classifier for JSON content.xml_classifier (
Union
[IResolvable
,XMLClassifierProperty
,Dict
[str
,Any
],None
]) – A classifier for XML content.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_glue as glue cfn_classifier_props = glue.CfnClassifierProps( csv_classifier=glue.CfnClassifier.CsvClassifierProperty( allow_single_column=False, contains_custom_datatype=["containsCustomDatatype"], contains_header="containsHeader", custom_datatype_configured=False, delimiter="delimiter", disable_value_trimming=False, header=["header"], name="name", quote_symbol="quoteSymbol" ), grok_classifier=glue.CfnClassifier.GrokClassifierProperty( classification="classification", grok_pattern="grokPattern", # the properties below are optional custom_patterns="customPatterns", name="name" ), json_classifier=glue.CfnClassifier.JsonClassifierProperty( json_path="jsonPath", # the properties below are optional name="name" ), xml_classifier=glue.CfnClassifier.XMLClassifierProperty( classification="classification", row_tag="rowTag", # the properties below are optional name="name" ) )
Attributes
- csv_classifier
A classifier for comma-separated values (CSV).
- grok_classifier
A classifier that uses
grok
.
- json_classifier
A classifier for JSON content.
- xml_classifier
A classifier for XML content.