aws-cdk-lib.aws_glue.CfnClassifier.GrokClassifierProperty

interface GrokClassifierProperty

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

A classifier that uses grok patterns.

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 grokClassifierProperty: glue.CfnClassifier.GrokClassifierProperty = {
  classification: 'classification',
  grokPattern: 'grokPattern',

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

Properties

NameTypeDescription
classificationstringAn identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
grokPatternstringThe grok pattern applied to a data store by this classifier.
customPatterns?stringOptional custom grok patterns defined by this classifier.
name?stringThe name of the classifier.

classification

Type: string

An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.


grokPattern

Type: string

The grok pattern applied to a data store by this classifier.

For more information, see built-in patterns in Writing Custom Classifiers .


customPatterns?

Type: string (optional)

Optional custom grok patterns defined by this classifier.

For more information, see custom patterns in Writing Custom Classifiers .


name?

Type: string (optional)

The name of the classifier.