@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.436Z") @Stability(value=Stable) public class AthenaStartQueryExecution extends TaskStateBase
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 | Class and Description |
|---|---|
static class |
AthenaStartQueryExecution.Builder
A fluent builder for
AthenaStartQueryExecution. |
software.amazon.jsii.JsiiObject.InitializationModeINextable.Jsii$DefaultIChainable.Jsii$DefaultIConstruct.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
AthenaStartQueryExecution(software.constructs.Construct scope,
String id,
AthenaStartQueryExecutionProps props) |
protected |
AthenaStartQueryExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AthenaStartQueryExecution(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected TaskMetricsConfig |
getTaskMetrics() |
protected List<PolicyStatement> |
getTaskPolicies() |
addCatch, addCatch, addRetry, addRetry, getEndStates, metric, metric, metricFailed, metricFailed, metricHeartbeatTimedOut, metricHeartbeatTimedOut, metricRunTime, metricRunTime, metricScheduled, metricScheduled, metricScheduleTime, metricScheduleTime, metricStarted, metricStarted, metricSucceeded, metricSucceeded, metricTime, metricTime, metricTimedOut, metricTimedOut, next, toStateJson, whenBoundToGraphaddBranch, addChoice, addIterator, addPrefix, bindToGraph, filterNextables, findReachableEndStates, findReachableEndStates, findReachableStates, findReachableStates, getBranches, getComment, getDefaultChoice, getId, getInputPath, getIteration, getOutputPath, getParameters, getResultPath, getResultSelector, getStartState, getStateId, makeDefault, makeNext, prefixStates, renderBranches, renderChoices, renderInputOutput, renderIterator, renderNextEnd, renderResultSelector, renderRetryCatch, setDefaultChoice, setIterationgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AthenaStartQueryExecution(software.amazon.jsii.JsiiObjectRef objRef)
protected AthenaStartQueryExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public AthenaStartQueryExecution(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
AthenaStartQueryExecutionProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @Nullable protected TaskMetricsConfig getTaskMetrics()
getTaskMetrics in class TaskStateBase@Stability(value=Stable) @Nullable protected List<PolicyStatement> getTaskPolicies()
getTaskPolicies in class TaskStateBaseCopyright © 2023. All rights reserved.