# QueryLoggingConfigurationProperty

The query logging configuration in an Amazon Managed Service for Prometheus workspace.

- Source: Generated code
- Type last changed: v2.199.0 · 27 May 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const queryLoggingConfigurationProperty: aps.CfnWorkspace.QueryLoggingConfigurationProperty = {
  destinations: [{
    cloudWatchLogs: {
      logGroupArn: 'logGroupArn',
    },
    filters: {
      qspThreshold: 123,
    },
  }],
};
```

## Properties

- `destinations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkspace.LoggingDestinationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_aps.CfnWorkspace.LoggingDestinationProperty.html)[] (required) — Defines a destination and its associated filtering criteria for query logging.
