@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.622Z") @Stability(value=Stable) public interface EncryptionConfiguration extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EncryptionConfiguration.Builder
A builder for
EncryptionConfiguration |
static class |
EncryptionConfiguration.Jsii$Proxy
An implementation for
EncryptionConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static EncryptionConfiguration.Builder |
builder() |
default IKey |
getEncryptionKey()
KMS key ARN or ID.
|
EncryptionOption |
getEncryptionOption()
Type of S3 server-side encryption enabled.
|
@Stability(value=Stable) @NotNull EncryptionOption getEncryptionOption()
Default: EncryptionOption.S3_MANAGED
@Stability(value=Stable) @Nullable default IKey getEncryptionKey()
Default: - No KMS key for Encryption Option SSE_S3 and default master key for Encryption Option SSE_KMS and CSE_KMS
@Stability(value=Stable) static EncryptionConfiguration.Builder builder()
EncryptionConfiguration.Builder of EncryptionConfigurationCopyright © 2023. All rights reserved.