interface AthenaQueryStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Athena.Events.WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsathena/events#WorkGroupEvents_AthenaQueryStateChange_AthenaQueryStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.athena.events.WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps |
Python | aws_cdk.mixins_preview.aws_athena.events.WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_athena ยป events ยป WorkGroupEvents ยป AthenaQueryStateChange ยป AthenaQueryStateChangeProps |
Props type for WorkGroup aws.athena@AthenaQueryStateChange event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as athena_events } from '@aws-cdk/mixins-preview/aws-athena';
const athenaQueryStateChangeProps: athena_events.WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps = {
currentState: ['currentState'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
previousState: ['previousState'],
queryExecutionId: ['queryExecutionId'],
sequenceNumber: ['sequenceNumber'],
statementType: ['statementType'],
versionId: ['versionId'],
workgroupName: ['workgroupName'],
};
Properties
| Name | Type | Description |
|---|---|---|
| current | string[] | currentState property. |
| event | AWSEvent | EventBridge event metadata. |
| previous | string[] | previousState property. |
| query | string[] | queryExecutionId property. |
| sequence | string[] | sequenceNumber property. |
| statement | string[] | statementType property. |
| version | string[] | versionId property. |
| workgroup | string[] | workgroupName property. |
currentState?
Type:
string[]
(optional, default: Do not filter on this field)
currentState property.
Specify an array of string values to match this event if the actual value of currentState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
previousState?
Type:
string[]
(optional, default: Do not filter on this field)
previousState property.
Specify an array of string values to match this event if the actual value of previousState is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
queryExecutionId?
Type:
string[]
(optional, default: Do not filter on this field)
queryExecutionId property.
Specify an array of string values to match this event if the actual value of queryExecutionId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
sequenceNumber?
Type:
string[]
(optional, default: Do not filter on this field)
sequenceNumber property.
Specify an array of string values to match this event if the actual value of sequenceNumber is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
statementType?
Type:
string[]
(optional, default: Do not filter on this field)
statementType property.
Specify an array of string values to match this event if the actual value of statementType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
versionId?
Type:
string[]
(optional, default: Do not filter on this field)
versionId property.
Specify an array of string values to match this event if the actual value of versionId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
workgroupName?
Type:
string[]
(optional, default: Filter with the WorkGroup reference)
workgroupName property.
Specify an array of string values to match this event if the actual value of workgroupName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript