@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:37:01.012Z") public enum EncryptionOption extends java.lang.Enum<EncryptionOption>
Example:
AthenaStartQueryExecution startQueryExecutionJob = AthenaStartQueryExecution.Builder.create(this, "Athena Start Query") .queryString(JsonPath.format("select contacts where year={};", JsonPath.stringAt("$.year"))) .queryExecutionContext(QueryExecutionContext.builder() .databaseName("interactions") .build()) .resultConfiguration(ResultConfiguration.builder() .encryptionConfiguration(EncryptionConfiguration.builder() .encryptionOption(EncryptionOption.S3_MANAGED) .build()) .outputLocation(Location.builder() .bucketName("mybucket") .objectKey("myprefix") .build()) .build()) .integrationPattern(IntegrationPattern.RUN_JOB) .build();
Enum Constant and Description |
---|
CLIENT_SIDE_KMS
Client-side encryption (CSE) with an AWS KMS key managed by the account owner.
|
KMS
Server-side encryption (SSE) with an AWS KMS key managed by the account owner.
|
S3_MANAGED
Server side encryption (SSE) with an Amazon S3-managed key.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionOption S3_MANAGED
public static final EncryptionOption KMS
public static final EncryptionOption CLIENT_SIDE_KMS
public static EncryptionOption[] values()
for (EncryptionOption c : EncryptionOption.values()) System.out.println(c);
public static EncryptionOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null