@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:37:01.083Z")
public interface ResultConfiguration
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 |
ResultConfiguration.Builder
A builder for
ResultConfiguration |
static class |
ResultConfiguration.Jsii$Proxy
An implementation for
ResultConfiguration |
Modifier and Type | Method and Description |
---|---|
static ResultConfiguration.Builder |
builder() |
default EncryptionConfiguration |
getEncryptionConfiguration()
Encryption option used if enabled in S3.
|
default Location |
getOutputLocation()
S3 path of query results.
|
default EncryptionConfiguration getEncryptionConfiguration()
Default: - SSE_S3 encrpytion is enabled with default encryption key
default Location getOutputLocation()
Example value: s3://query-results-bucket/folder/
Default: - Query Result Location set in Athena settings for this workgroup
static ResultConfiguration.Builder builder()
ResultConfiguration.Builder
of ResultConfiguration