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
Link

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.
import aws_cdk.aws_glue as glue

cfn_classifier_props = glue.CfnClassifierProps(
    csv_classifier=glue.CfnClassifier.CsvClassifierProperty(
        allow_single_column=False,
        contains_header="containsHeader",
        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).

Link

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

Return type

Union[CsvClassifierProperty, IResolvable, None]

grok_classifier

A classifier that uses grok .

Link

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

Return type

Union[IResolvable, GrokClassifierProperty, None]

json_classifier

A classifier for JSON content.

Link

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

Return type

Union[IResolvable, JsonClassifierProperty, None]

xml_classifier

A classifier for XML content.

Link

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

Return type

Union[IResolvable, XMLClassifierProperty, None]