AWS Glue Classifier

This page shows how to write Terraform and CloudFormation for AWS Glue Classifier and write them securely.

aws_glue_classifier (Terraform)

The Classifier in AWS Glue can be configured in Terraform with the resource name aws_glue_classifier. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

github-iconakemyy/beer
resource "aws_glue_classifier" "example" {
  name = "example"

  csv_classifier {
    allow_single_column    = false
    contains_header        = "PRESENT"
github-iconniveklabs/aws
resource "aws_glue_classifier" "this" {
  name = var.name

  dynamic "csv_classifier" {
    for_each = var.csv_classifier
    content {

Parameters

  • id optionalcomputed - string
  • name required - string

Explanation in Terraform Registry

Provides a Glue Classifier resource.

NOTE: It is only valid to create one type of classifier (csv, grok, JSON, or XML). Changing classifier types will recreate the classifier.

AWS::Glue::Classifier (CloudFormation)

The Classifier in Glue can be configured in CloudFormation with the resource name AWS::Glue::Classifier. The following sections describe how to use the resource and its parameters.

Parameters

Explanation in CloudFormation Registry

The AWS::Glue::Classifier resource creates an AWS Glue classifier that categorizes data sources and specifies schemas. For more information, see Adding Classifiers to a Crawler and Classifier Structure in the AWS Glue Developer Guide.

Frequently asked questions

What is AWS Glue Classifier?

AWS Glue Classifier is a resource for Glue of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Glue Classifier?

For Terraform, the akemyy/beer and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.