Class DataCatalogEncryptionAtRest

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.DataCatalogEncryptionAtRest
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:30.015Z") @Stability(Deprecated) @Deprecated public class DataCatalogEncryptionAtRest extends software.amazon.jsii.JsiiObject
Deprecated.
(deprecated) Encryption-at-rest configuration for a Glue Data Catalog.

The Data Catalog encryption at rest and the connection password encryption are independent: enabling one does not require the other, and each may use a different KMS key.

Example:

 import software.amazon.awscdk.services.iam.*;
 Key key;
 IRole role;
 Catalog.encryptAccount(this, CatalogEncryptionOptions.builder()
         .encryptionAtRest(DataCatalogEncryptionAtRest.kmsWithServiceRole(role, key))
         .build());
 

See Also:
  • Constructor Details

    • DataCatalogEncryptionAtRest

      protected DataCatalogEncryptionAtRest(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • DataCatalogEncryptionAtRest

      protected DataCatalogEncryptionAtRest(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
  • Method Details

    • disabled

      @Stability(Deprecated) @Deprecated @NotNull public static DataCatalogEncryptionAtRest disabled()
      Deprecated.
      (deprecated) Disable encryption at rest for the Data Catalog.
    • kms

      @Stability(Deprecated) @Deprecated @NotNull public static DataCatalogEncryptionAtRest kms(@Nullable IKeyRef key)
      Deprecated.
      (deprecated) Encrypt the Data Catalog at rest with an AWS KMS key.

      Parameters:
      key - the KMS key to use.
    • kms

      @Stability(Deprecated) @Deprecated @NotNull public static DataCatalogEncryptionAtRest kms()
      Deprecated.
      (deprecated) Encrypt the Data Catalog at rest with an AWS KMS key.
    • kmsWithServiceRole

      @Stability(Deprecated) @Deprecated @NotNull public static DataCatalogEncryptionAtRest kmsWithServiceRole(@NotNull IRole role, @Nullable IKeyRef key)
      Deprecated.
      (deprecated) Encrypt the Data Catalog at rest with an AWS KMS key, accessed through a service role that AWS Glue assumes on your behalf.

      When a customer-managed key is provided, the role is automatically granted kms:Encrypt/kms:Decrypt/kms:GenerateDataKey* on it.

      Parameters:
      role - the service role that AWS Glue assumes to access the key. This parameter is required.
      key - the KMS key to use.
    • kmsWithServiceRole

      @Stability(Deprecated) @Deprecated @NotNull public static DataCatalogEncryptionAtRest kmsWithServiceRole(@NotNull IRole role)
      Deprecated.
      (deprecated) Encrypt the Data Catalog at rest with an AWS KMS key, accessed through a service role that AWS Glue assumes on your behalf.

      When a customer-managed key is provided, the role is automatically granted kms:Encrypt/kms:Decrypt/kms:GenerateDataKey* on it.

      Parameters:
      role - the service role that AWS Glue assumes to access the key. This parameter is required.
    • getMode

      @Stability(Deprecated) @Deprecated @NotNull public CatalogEncryptionMode getMode()
      Deprecated.
      (deprecated) The encryption mode.
    • getKmsKey

      @Stability(Deprecated) @Deprecated @Nullable public IKeyRef getKmsKey()
      Deprecated.
      (deprecated) The customer-managed KMS key used for encryption at rest, if any.
    • getServiceRole

      @Stability(Deprecated) @Deprecated @Nullable public IRole getServiceRole()
      Deprecated.
      (deprecated) The service role that AWS Glue assumes to access the KMS key, if any.