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.99.0 (build 8f757e4)", date = "2024-06-13T18:49:27.715Z")
@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,
}