Interface CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnDataCatalogEncryptionSettings
@Stability(Stable)
public static interface CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Contains configuration information for maintaining Data Catalog security.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
DataCatalogEncryptionSettingsProperty dataCatalogEncryptionSettingsProperty = DataCatalogEncryptionSettingsProperty.builder()
.connectionPasswordEncryption(ConnectionPasswordEncryptionProperty.builder()
.kmsKeyId("kmsKeyId")
.returnConnectionPasswordEncrypted(false)
.build())
.encryptionAtRest(EncryptionAtRestProperty.builder()
.catalogEncryptionMode("catalogEncryptionMode")
.catalogEncryptionServiceRole("catalogEncryptionServiceRole")
.sseAwsKmsKeyId("sseAwsKmsKeyId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhen connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part ofCreateConnectionorUpdateConnectionand store it in theENCRYPTED_PASSWORDfield in the connection properties.default ObjectSpecifies the encryption-at-rest configuration for the Data Catalog.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectionPasswordEncryption
When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part ofCreateConnectionorUpdateConnectionand store it in theENCRYPTED_PASSWORDfield in the connection properties.You can enable catalog encryption or only password encryption.
Returns union: either
IResolvableorCfnDataCatalogEncryptionSettings.ConnectionPasswordEncryptionProperty- See Also:
-
getEncryptionAtRest
Specifies the encryption-at-rest configuration for the Data Catalog.Returns union: either
IResolvableorCfnDataCatalogEncryptionSettings.EncryptionAtRestProperty- See Also:
-
builder
@Stability(Stable) static CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder builder()
-