Class S3TableEncryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.S3TableEncryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-08-27T15:24:50.141Z")
@Stability(Experimental)
public class S3TableEncryption
extends software.amazon.jsii.JsiiObject
(experimental) Server-side encryption for the S3 bucket that a managed
S3Table creates.
Applies only when the table manages its own bucket (via
S3TableStorage.managedBucket). An existing bucket keeps whatever encryption
it was created with.
Example:
Database myDatabase;
S3Table.Builder.create(this, "MyTable")
.storage(S3TableStorage.managedBucket(S3TableEncryption.s3Managed()))
// ...
.database(myDatabase)
.columns(List.of(Column.builder()
.name("col1")
.type(Schema.STRING)
.build()))
.dataFormat(DataFormat.JSON)
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedS3TableEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedS3TableEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic S3TableEncryptionkms()(experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the account owner.static S3TableEncryption(experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the account owner.static S3TableEncryption(experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the KMS service.static S3TableEncryption(experimental) Server-side encryption (SSE-S3) with an Amazon S3-managed key.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
-
S3TableEncryption
protected S3TableEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
S3TableEncryption
protected S3TableEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
kms
(experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the account owner.- Parameters:
key- the KMS key used to encrypt the data.
-
kms
(experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the account owner. -
kmsManaged
(experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the KMS service. -
s3Managed
(experimental) Server-side encryption (SSE-S3) with an Amazon S3-managed key.
-