Interface ResultConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResultConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:51.623Z")
@Stability(Stable)
public interface ResultConfiguration
extends software.amazon.jsii.JsiiSerializable
Location of query result along with S3 bucket configuration.
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 forResultConfigurationstatic final classAn implementation forResultConfiguration -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultConfiguration.Builderbuilder()default EncryptionConfigurationEncryption option used if enabled in S3.default LocationS3 path of query results.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionConfiguration
Encryption option used if enabled in S3.Default: - SSE_S3 encryption is enabled with default encryption key
-
getOutputLocation
S3 path of query results.Example value:
s3://query-results-bucket/folder/Default: - Query Result Location set in Athena settings for this workgroup
-
builder
- Returns:
- a
ResultConfiguration.BuilderofResultConfiguration
-