Resource: aws_glue_security_configuration

Manages a Glue Security Configuration.

Example Usage

resource "aws_glue_security_configuration" "example" {
  name = "example"

  encryption_configuration {
    cloudwatch_encryption {
      cloudwatch_encryption_mode = "DISABLED"
    }

    job_bookmarks_encryption {
      job_bookmarks_encryption_mode = "DISABLED"
    }

    s3_encryption {
      kms_key_arn        = data.aws_kms_key.example.arn
      s3_encryption_mode = "SSE-KMS"
    }
  }
}

Argument Reference

This resource supports the following arguments:

encryption_configuration Argument Reference

cloudwatch_encryption Argument Reference

job_bookmarks_encryption Argument Reference

s3_encryption Argument Reference

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import Glue Security Configurations using name. For example:

import {
  to = aws_glue_security_configuration.example
  id = "example"
}

Using terraform import, import Glue Security Configurations using name. For example:

% terraform import aws_glue_security_configuration.example example