interface QueryLoggingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.APS.CfnWorkspacePropsMixin.QueryLoggingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsaps#CfnWorkspacePropsMixin_QueryLoggingConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.aps.CfnWorkspacePropsMixin.QueryLoggingConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_aps.CfnWorkspacePropsMixin.QueryLoggingConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_aps » CfnWorkspacePropsMixin » 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/cfn-property-mixins';
const queryLoggingConfigurationProperty: aps.CfnWorkspacePropsMixin.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)[]
(optional)
Defines a destination and its associated filtering criteria for query logging.

.NET
Go
Java
Python
TypeScript