aws-cdk-lib.aws_glue.CfnClassifier.XMLClassifierProperty

interface XMLClassifierProperty

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

A classifier for XML 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 xMLClassifierProperty: glue.CfnClassifier.XMLClassifierProperty = {
  classification: 'classification',
  rowTag: 'rowTag',

  // the properties below are optional
  name: 'name',
};

Properties

NameTypeDescription
classificationstringAn identifier of the data format that the classifier matches.
rowTagstringThe XML tag designating the element that contains each record in an XML document being parsed.
name?stringThe name of the classifier.

classification

Type: string

An identifier of the data format that the classifier matches.


rowTag

Type: string

The XML tag designating the element that contains each record in an XML document being parsed.

This can't identify a self-closing element (closed by /> ). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).


name?

Type: string (optional)

The name of the classifier.