Class TableEncryption
(experimental) Encryption options for a Table.
Inheritance
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public sealed class TableEncryption : Enum
Syntax (vb)
Public NotInheritable Class TableEncryption
Inherits
Enum
Remarks
Stability: Experimental
See: https://docs.aws.amazon.com/athena/latest/ug/encryption.html
ExampleMetadata: infused
Examples
Database myDatabase;
new Table(this, "MyTable", new TableProps {
Encryption = TableEncryption.S3_MANAGED,
// ...
Database = myDatabase,
TableName = "my_table",
Columns = new [] { new Column {
Name = "col1",
Type = Schema.STRING
} },
DataFormat = DataFormat.JSON
});
Synopsis
Fields
CLIENT_SIDE_KMS | (experimental) Client-side encryption (CSE) with an AWS KMS key managed by the account owner. |
KMS | (experimental) Server-side encryption (SSE) with an AWS KMS key managed by the account owner. |
KMS_MANAGED | (experimental) Server-side encryption (SSE) with an AWS KMS key managed by the KMS service. |
S3_MANAGED | (experimental) Server side encryption (SSE) with an Amazon S3-managed key. |
UNENCRYPTED | |
value__ |
Fields
CLIENT_SIDE_KMS
(experimental) Client-side encryption (CSE) with an AWS KMS key managed by the account owner.
public const TableEncryption CLIENT_SIDE_KMS
Field Value
Type | Description |
---|---|
TableEncryption |
Remarks
Stability: Experimental
See: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
KMS
(experimental) Server-side encryption (SSE) with an AWS KMS key managed by the account owner.
public const TableEncryption KMS
Field Value
Type | Description |
---|---|
TableEncryption |
Remarks
Stability: Experimental
See: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
KMS_MANAGED
(experimental) Server-side encryption (SSE) with an AWS KMS key managed by the KMS service.
public const TableEncryption KMS_MANAGED
Field Value
Type | Description |
---|---|
TableEncryption |
Remarks
Stability: Experimental
S3_MANAGED
(experimental) Server side encryption (SSE) with an Amazon S3-managed key.
public const TableEncryption S3_MANAGED
Field Value
Type | Description |
---|---|
TableEncryption |
Remarks
Stability: Experimental
See: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
UNENCRYPTED
public const TableEncryption UNENCRYPTED
Field Value
Type | Description |
---|---|
TableEncryption |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |