@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:49.697Z") @Stability(value=Experimental) public enum TableEncryption extends Enum<TableEncryption>
Example:
Database myDatabase;
Table.Builder.create(this, "MyTable")
.encryption(TableEncryption.S3_MANAGED)
// ...
.database(myDatabase)
.tableName("my_table")
.columns(List.of(Column.builder()
.name("col1")
.type(Schema.STRING)
.build()))
.dataFormat(DataFormat.JSON)
.build();
| Enum Constant and Description |
|---|
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 |
| Modifier and Type | Method and Description |
|---|---|
static TableEncryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableEncryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final TableEncryption UNENCRYPTED
@Stability(value=Experimental) public static final TableEncryption S3_MANAGED
@Stability(value=Experimental) public static final TableEncryption KMS
@Stability(value=Experimental) public static final TableEncryption KMS_MANAGED
@Stability(value=Experimental) public static final TableEncryption CLIENT_SIDE_KMS
public static TableEncryption[] values()
for (TableEncryption c : TableEncryption.values()) System.out.println(c);
public static TableEncryption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.