@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:49.152Z") @Stability(value=Stable) public interface AthenaStartQueryExecutionProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
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 |
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.