@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-02T20:25:37.333Z") 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 . |
INextable.Jsii$Default
IChainable.Jsii$Default
IConstruct.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
AthenaStartQueryExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AthenaStartQueryExecution(software.amazon.jsii.JsiiObjectRef objRef) |
|
AthenaStartQueryExecution(software.constructs.Construct scope,
java.lang.String id,
AthenaStartQueryExecutionProps props) |
Modifier and Type | Method and Description |
---|---|
protected TaskMetricsConfig |
getTaskMetrics() |
protected java.util.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, whenBoundToGraph
addBranch, 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, setIteration
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
protected AthenaStartQueryExecution(software.amazon.jsii.JsiiObjectRef objRef)
protected AthenaStartQueryExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public AthenaStartQueryExecution(software.constructs.Construct scope, java.lang.String id, AthenaStartQueryExecutionProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.protected TaskMetricsConfig getTaskMetrics()
getTaskMetrics
in class TaskStateBase
protected java.util.List<PolicyStatement> getTaskPolicies()
getTaskPolicies
in class TaskStateBase