software.amazon.awscdk.services.glue.alpha.TableEncryption Maven / Gradle / Ivy
Show all versions of glue-alpha Show documentation
package software.amazon.awscdk.services.glue.alpha;
/**
* (experimental) Encryption options for a Table.
*
* Example:
*
*
* Database myDatabase;
* S3Table.Builder.create(this, "MyTable")
* .encryption(TableEncryption.S3_MANAGED)
* // ...
* .database(myDatabase)
* .columns(List.of(Column.builder()
* .name("col1")
* .type(Schema.STRING)
* .build()))
* .dataFormat(DataFormat.JSON)
* .build();
*
*
* @see https://docs.aws.amazon.com/athena/latest/ug/encryption.html
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-11-15T10:25:09.366Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.glue.alpha.$Module.class, fqn = "@aws-cdk/aws-glue-alpha.TableEncryption")
public enum TableEncryption {
/**
* (experimental) Server side encryption (SSE) with an Amazon S3-managed key.
*
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
S3_MANAGED,
/**
* (experimental) Server-side encryption (SSE) with an AWS KMS key managed by the account owner.
*
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
KMS,
/**
* (experimental) Server-side encryption (SSE) with an AWS KMS key managed by the KMS service.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
KMS_MANAGED,
/**
* (experimental) Client-side encryption (CSE) with an AWS KMS key managed by the account owner.
*
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
CLIENT_SIDE_KMS,
}