Skip to content
v2.278.0

LoggingFilterProperty Struct ​

Filtering criteria that determine which queries are logged.

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 loggingFilterProperty: aps.CfnWorkspace.LoggingFilterProperty = {
  qspThreshold: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aps as aps

logging_filter_property = aps.CfnWorkspace.LoggingFilterProperty(
    qsp_threshold=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aps.*;

LoggingFilterProperty loggingFilterProperty = LoggingFilterProperty.builder()
        .qspThreshold(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;

var loggingFilterProperty = new LoggingFilterProperty {
    QspThreshold = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

loggingFilterProperty := &LoggingFilterProperty{
	QspThreshold: jsii.Number(123),
}

Properties ​

qspThresholdnumberqsp_thresholdint | floatqspThresholdNumberQspThresholddoubleQspThreshold*float64 required #
The Query Samples Processed (QSP) threshold above which queries will be logged.

Queries processing more samples than this threshold will be captured in logs.