@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.440Z") @Stability(value=Stable) public interface AthenaStartQueryExecutionProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
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("query-results-bucket")
.objectKey("folder")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AthenaStartQueryExecutionProps.Builder
A builder for
AthenaStartQueryExecutionProps |
static class |
AthenaStartQueryExecutionProps.Jsii$Proxy
An implementation for
AthenaStartQueryExecutionProps |
| Modifier and Type | Method and Description |
|---|---|
static AthenaStartQueryExecutionProps.Builder |
builder() |
default String |
getClientRequestToken()
Unique string string to ensure idempotence.
|
default QueryExecutionContext |
getQueryExecutionContext()
Database within which query executes.
|
String |
getQueryString()
Query that will be started.
|
default ResultConfiguration |
getResultConfiguration()
Configuration on how and where to save query.
|
default String |
getWorkGroup()
Configuration on how and where to save query.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Stable) @NotNull String getQueryString()
@Stability(value=Stable) @Nullable default String getClientRequestToken()
Default: - No client request token
@Stability(value=Stable) @Nullable default QueryExecutionContext getQueryExecutionContext()
Default: - No query execution context
@Stability(value=Stable) @Nullable default ResultConfiguration getResultConfiguration()
Default: - No result configuration
@Stability(value=Stable) @Nullable default String getWorkGroup()
Default: - No work group
@Stability(value=Stable) static AthenaStartQueryExecutionProps.Builder builder()
builder in interface TaskStateBasePropsAthenaStartQueryExecutionProps.Builder of AthenaStartQueryExecutionPropsCopyright © 2022. All rights reserved.