Skip to content
v2.275.0

QueryLoggingConfigurationProperty Struct ​

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

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 ​

destinationsIResolvable | IResolvable | CfnWorkspace.LoggingDestinationProperty[]destinationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LoggingDestinationProperty]]]destinationsIResolvableDestinationsIResolvableDestinationsinterface{}required#
Defines a destination and its associated filtering criteria for query logging.