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

    Constructors
    Modifier
    Constructor
    Description
    protected
    S3TableEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    S3TableEncryption(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    kms()
    (experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the account owner.
    kms(IKey key)
    (experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the account owner.
    (experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the KMS service.
    (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, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      @Stability(Experimental) @NotNull public static S3TableEncryption kms(@Nullable IKey key)
      (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

      @Stability(Experimental) @NotNull public static S3TableEncryption kms()
      (experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the account owner.
    • kmsManaged

      @Stability(Experimental) @NotNull public static S3TableEncryption kmsManaged()
      (experimental) Server-side encryption (SSE-KMS) with an AWS KMS key managed by the KMS service.
    • s3Managed

      @Stability(Experimental) @NotNull public static S3TableEncryption s3Managed()
      (experimental) Server-side encryption (SSE-S3) with an Amazon S3-managed key.