interface QueryLoggingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APS.CfnWorkspace.QueryLoggingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnWorkspace_QueryLoggingConfigurationProperty |
Java | software.amazon.awscdk.services.aps.CfnWorkspace.QueryLoggingConfigurationProperty |
Python | aws_cdk.aws_aps.CfnWorkspace.QueryLoggingConfigurationProperty |
TypeScript | aws-cdk-lib » aws_aps » CfnWorkspace » QueryLoggingConfigurationProperty |
The query logging configuration in an Amazon Managed Service for Prometheus workspace.
Example
// 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
| Name | Type | Description |
|---|---|---|
| destinations | IResolvable | (IResolvable | Logging)[] | Defines a destination and its associated filtering criteria for query logging. |
destinations
Type:
IResolvable | (IResolvable | Logging)[]
Defines a destination and its associated filtering criteria for query logging.

.NET
Go
Java
Python
TypeScript