Interface EncryptionConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EncryptionConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:51.546Z")
@Stability(Stable)
public interface EncryptionConfiguration
extends software.amazon.jsii.JsiiSerializable
Encryption Configuration of the S3 bucket.
Example:
AthenaStartQueryExecution startQueryExecutionJob = AthenaStartQueryExecution.Builder.create(this, "Start Athena Query")
.queryString(JsonPath.stringAt("$.queryString"))
.queryExecutionContext(QueryExecutionContext.builder()
.databaseName("mydatabase")
.build())
.resultConfiguration(ResultConfiguration.builder()
.encryptionConfiguration(EncryptionConfiguration.builder()
.encryptionOption(EncryptionOption.S3_MANAGED)
.build())
.outputLocation(Location.builder()
.bucketName("amzn-s3-demo-bucket")
.objectKey("folder")
.build())
.build())
.executionParameters(List.of("param1", "param2"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEncryptionConfigurationstatic final classAn implementation forEncryptionConfiguration -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionOption
Type of S3 server-side encryption enabled.Default: EncryptionOption.S3_MANAGED
-
getEncryptionKey
KMS key ARN or ID.Default: - No KMS key for Encryption Option SSE_S3 and default master key for Encryption Option SSE_KMS and CSE_KMS
-
builder
- Returns:
- a
EncryptionConfiguration.BuilderofEncryptionConfiguration
-