TableEncryption

class aws_cdk.aws_glue.TableEncryption(value)

Bases: enum.Enum

(experimental) Encryption options for a Table.

See

https://docs.aws.amazon.com/athena/latest/ug/encryption.html

Stability

experimental

ExampleMetadata

infused

Example:

# my_database: glue.Database

glue.Table(self, "MyTable",
    encryption=glue.TableEncryption.S3_MANAGED,
    # ...
    database=my_database,
    table_name="my_table",
    columns=[glue.Column(
        name="col1",
        type=glue.Schema.STRING
    )],
    data_format=glue.DataFormat.JSON
)

Attributes

CLIENT_SIDE_KMS

(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

Stability

experimental

KMS

(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

Stability

experimental

KMS_MANAGED

(experimental) Server-side encryption (SSE) with an AWS KMS key managed by the KMS service.

Stability

experimental

S3_MANAGED

(experimental) Server side encryption (SSE) with an Amazon S3-managed key.

See

https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html

Stability

experimental

UNENCRYPTED
Stability

experimental