Skip to content
v2.278.0

JsonClassifierProperty Struct ​

A classifier for JSON content.

Example ​

ts
// 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 jsonClassifierProperty: glue.CfnClassifier.JsonClassifierProperty = {
  jsonPath: 'jsonPath',

  // the properties below are optional
  name: 'name',
};
python
# 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

json_classifier_property = glue.CfnClassifier.JsonClassifierProperty(
    json_path="jsonPath",

    # the properties below are optional
    name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

JsonClassifierProperty jsonClassifierProperty = JsonClassifierProperty.builder()
        .jsonPath("jsonPath")

        // the properties below are optional
        .name("name")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var jsonClassifierProperty = new JsonClassifierProperty {
    JsonPath = "jsonPath",

    // the properties below are optional
    Name = "name"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

jsonClassifierProperty := &JsonClassifierProperty{
	JsonPath: jsii.String("jsonPath"),

	// the properties below are optional
	Name: jsii.String("name"),
}

Properties ​

jsonPathstringjson_pathstrjsonPathStringJsonPathstringJsonPath*string required #
A `JsonPath` string defining the JSON data for the classifier to classify.

AWS Glue supports a subset of JsonPath , as described in Writing JsonPath Custom Classifiers .

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the classifier.