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:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataCatalogEncryptionAtRest(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedDataCatalogEncryptionAtRest(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataCatalogEncryptionAtRestdisabled()Deprecated.Deprecated.getMode()Deprecated.Deprecated.static DataCatalogEncryptionAtRestkms()Deprecated.static DataCatalogEncryptionAtRestDeprecated.static DataCatalogEncryptionAtRestkmsWithServiceRole(IRole role) Deprecated.static DataCatalogEncryptionAtRestkmsWithServiceRole(IRole role, IKeyRef key) Deprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DataCatalogEncryptionAtRest
protected DataCatalogEncryptionAtRest(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
DataCatalogEncryptionAtRest
protected DataCatalogEncryptionAtRest(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.
-
-
Method Details
-
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
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
keyis provided, theroleis automatically grantedkms: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
keyis provided, theroleis automatically grantedkms: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
Deprecated.(deprecated) The encryption mode. -
getKmsKey
Deprecated.(deprecated) The customer-managed KMS key used for encryption at rest, if any. -
getServiceRole
Deprecated.(deprecated) The service role that AWS Glue assumes to access the KMS key, if any.
-