Interface AthenaStartQueryExecutionProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateBaseProps
- All Known Implementing Classes:
AthenaStartQueryExecutionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:51.288Z")
@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("amzn-s3-demo-bucket")
.objectKey("folder")
.build())
.build())
.executionParameters(List.of("param1", "param2"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAthenaStartQueryExecutionPropsstatic final classAn implementation forAthenaStartQueryExecutionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringUnique string string to ensure idempotence.A list of values for the parameters in a query.default QueryExecutionContextDatabase within which query executes.Query that will be started.default ResultConfigurationConfiguration on how and where to save query.default DurationSpecifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.default StringConfiguration on how and where to save query.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptions
getOutputsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getResultPath, getResultSelector
-
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
-
getResultReuseConfigurationMaxAge
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.Default: - Query results are not reused
-
getWorkGroup
Configuration on how and where to save query.Default: - No work group
-
builder
-