Interface AthenaStartQueryExecutionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TaskStateBaseProps
- All Known Implementing Classes:
AthenaStartQueryExecutionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.872Z")
@Stability(Stable)
public interface AthenaStartQueryExecutionProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for starting a Query Execution.
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();
-
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.default QueryExecutionContextDatabase within which query executes.Query that will be started.default ResultConfigurationConfiguration on how and where to save query.default StringConfiguration on how and where to save query.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
-
Method Details
-
getQueryString
Query that will be started. -
getClientRequestToken
Unique string string to ensure idempotence.Default: - No client request token
-
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
-