@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:57.166Z") @Stability(value=Experimental) 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()
(experimental) Unique string string to ensure idempotence.
|
default QueryExecutionContext |
getQueryExecutionContext()
(experimental) Database within which query executes.
|
String |
getQueryString()
(experimental) Query that will be started.
|
default ResultConfiguration |
getResultConfiguration()
(experimental) Configuration on how and where to save query.
|
default String |
getWorkGroup()
(experimental) Configuration on how and where to save query.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Experimental) @NotNull String getQueryString()
@Stability(value=Experimental) @Nullable default String getClientRequestToken()
Default: - No client request token
@Stability(value=Experimental) @Nullable default QueryExecutionContext getQueryExecutionContext()
Default: - No query execution context
@Stability(value=Experimental) @Nullable default ResultConfiguration getResultConfiguration()
Default: - No result configuration
@Stability(value=Experimental) @Nullable default String getWorkGroup()
Default: - No work group
@Stability(value=Experimental) static AthenaStartQueryExecutionProps.Builder builder()
builder in interface TaskStateBasePropsAthenaStartQueryExecutionProps.Builder of AthenaStartQueryExecutionPropsCopyright © 2022. All rights reserved.