Interface IAthenaStartQueryExecutionProps
Properties for starting a Query Execution.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface IAthenaStartQueryExecutionProps : ITaskStateBaseProps
Syntax (vb)
Public Interface IAthenaStartQueryExecutionProps
Inherits ITaskStateBaseProps
Remarks
ExampleMetadata: infused
Examples
var startQueryExecutionJob = new AthenaStartQueryExecution(this, "Athena Start Query", new AthenaStartQueryExecutionProps {
QueryString = JsonPath.Format("select contacts where year={};", JsonPath.StringAt("$.year")),
QueryExecutionContext = new QueryExecutionContext {
DatabaseName = "interactions"
},
ResultConfiguration = new ResultConfiguration {
EncryptionConfiguration = new EncryptionConfiguration {
EncryptionOption = EncryptionOption.S3_MANAGED
},
OutputLocation = new Location {
BucketName = "mybucket",
ObjectKey = "myprefix"
}
},
IntegrationPattern = IntegrationPattern.RUN_JOB
});
Synopsis
Properties
ClientRequestToken | Unique string string to ensure idempotence. |
QueryExecutionContext | Database within which query executes. |
QueryString | Query that will be started. |
ResultConfiguration | Configuration on how and where to save query. |
WorkGroup | Configuration on how and where to save query. |
Properties
ClientRequestToken
Unique string string to ensure idempotence.
virtual string ClientRequestToken { get; }
Property Value
System.String
Remarks
Default: - No client request token
QueryExecutionContext
Database within which query executes.
virtual IQueryExecutionContext QueryExecutionContext { get; }
Property Value
Remarks
Default: - No query execution context
QueryString
Query that will be started.
string QueryString { get; }
Property Value
System.String
ResultConfiguration
Configuration on how and where to save query.
virtual IResultConfiguration ResultConfiguration { get; }
Property Value
Remarks
Default: - No result configuration
WorkGroup
Configuration on how and where to save query.
virtual string WorkGroup { get; }
Property Value
System.String
Remarks
Default: - No work group