@Stability(value=Stable)
public static interface CfnWorkGroup.EncryptionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.athena.*;
EncryptionConfigurationProperty encryptionConfigurationProperty = EncryptionConfigurationProperty.builder()
.encryptionOption("encryptionOption")
// the properties below are optional
.kmsKey("kmsKey")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWorkGroup.EncryptionConfigurationProperty.Builder
A builder for
CfnWorkGroup.EncryptionConfigurationProperty |
static class |
CfnWorkGroup.EncryptionConfigurationProperty.Jsii$Proxy
An implementation for
CfnWorkGroup.EncryptionConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWorkGroup.EncryptionConfigurationProperty.Builder |
builder() |
String |
getEncryptionOption()
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys ( `SSE_S3` ), server-side encryption with KMS-managed keys ( `SSE_KMS` ), or client-side encryption with KMS-managed keys ( `CSE_KMS` ) is used.
|
default String |
getKmsKey()
For `SSE_KMS` and `CSE_KMS` , this is the KMS key ARN or ID.
|
@Stability(value=Stable) @NotNull String getEncryptionOption()
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
@Stability(value=Stable) @Nullable default String getKmsKey()
@Stability(value=Stable) static CfnWorkGroup.EncryptionConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.