Class AthenaStartQueryExecution

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.870Z") @Stability(Stable) public class AthenaStartQueryExecution extends TaskStateBase
Start an Athena Query as a Task.

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();
 

See Also:
  • Constructor Details

    • AthenaStartQueryExecution

      protected AthenaStartQueryExecution(software.amazon.jsii.JsiiObjectRef objRef)
    • AthenaStartQueryExecution

      protected AthenaStartQueryExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AthenaStartQueryExecution

      @Stability(Stable) public AthenaStartQueryExecution(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AthenaStartQueryExecutionProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details