@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-27T16:28:06.502Z") public interface AthenaStartQueryExecutionProps extends 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 java.lang.String |
getClientRequestToken()
Unique string string to ensure idempotence.
|
default QueryExecutionContext |
getQueryExecutionContext()
Database within which query executes.
|
java.lang.String |
getQueryString()
Query that will be started.
|
default ResultConfiguration |
getResultConfiguration()
Configuration on how and where to save query.
|
default java.lang.String |
getWorkGroup()
Configuration on how and where to save query.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
java.lang.String getQueryString()
default java.lang.String getClientRequestToken()
Default: - No client request token
default QueryExecutionContext getQueryExecutionContext()
Default: - No query execution context
default ResultConfiguration getResultConfiguration()
Default: - No result configuration
default java.lang.String getWorkGroup()
Default: - No work group
static AthenaStartQueryExecutionProps.Builder builder()
builder
in interface TaskStateBaseProps
AthenaStartQueryExecutionProps.Builder
of AthenaStartQueryExecutionProps