Interface ConnectionPasswordEncryption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ConnectionPasswordEncryption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:27.963Z")
@Stability(Experimental)
public interface ConnectionPasswordEncryption
extends software.amazon.jsii.JsiiSerializable
(experimental) Connection-password encryption configuration for a Glue Data Catalog.
When enabled, the Data Catalog encrypts the password as part of
CreateConnection or UpdateConnection and stores it in the
ENCRYPTED_PASSWORD field of the connection properties. This is independent
from catalog encryption at rest, and may use a different KMS key.
Example:
Key key;
Catalog.encryptAccount(this, CatalogEncryptionOptions.builder()
.connectionPasswordEncryption(ConnectionPasswordEncryption.builder()
.kmsKey(key)
// Whether GetConnection/GetConnections return the password encrypted (default: true)
.returnConnectionPasswordEncrypted(true)
.build())
.build());
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forConnectionPasswordEncryptionstatic final classAn implementation forConnectionPasswordEncryption -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKmsKey
(experimental) The KMS key used to encrypt connection passwords.Default: - an AWS-managed key is used and the key is not exposed as a grantable resource.
-
getReturnConnectionPasswordEncrypted
(experimental) Whether passwords remain encrypted in the responses ofGetConnectionandGetConnections.This takes effect independently from catalog encryption.
Default: true
-
builder
-