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:
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).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-csvclassifier

grok_classifier

A classifier that uses grok .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-grokclassifier

json_classifier

A classifier for JSON content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-jsonclassifier

xml_classifier

A classifier for XML content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-xmlclassifier