Interface AthenaStartQueryExecutionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TaskStateBaseProps
- All Known Implementing Classes:
AthenaStartQueryExecutionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.97.0 (build 729de35)",
date="2024-04-24T21:00:38.014Z")
@Stability(Stable)
public interface AthenaStartQueryExecutionProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for starting a Query Execution.
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()) .executionParameters(List.of("param1", "param2")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAthenaStartQueryExecutionProps
static final class
An implementation forAthenaStartQueryExecutionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Unique string string to ensure idempotence.A list of values for the parameters in a query.default QueryExecutionContext
Database within which query executes.Query that will be started.default ResultConfiguration
Configuration on how and where to save query.default String
Configuration on how and where to save query.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getCredentials, getHeartbeat, getHeartbeatTimeout, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getStateName, getTaskTimeout, getTimeout
-
Method Details
-
getQueryString
Query that will be started. -
getClientRequestToken
Unique string string to ensure idempotence.Default: - No client request token
-
getExecutionParameters
A list of values for the parameters in a query.The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
Default: - No parameters
-
getQueryExecutionContext
Database within which query executes.Default: - No query execution context
-
getResultConfiguration
Configuration on how and where to save query.Default: - No result configuration
-
getWorkGroup
Configuration on how and where to save query.Default: - No work group
-
builder
-