Interface CfnWorkspace.QueryLoggingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.QueryLoggingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.QueryLoggingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.aps.*;
QueryLoggingConfigurationProperty queryLoggingConfigurationProperty = QueryLoggingConfigurationProperty.builder()
.destinations(List.of(LoggingDestinationProperty.builder()
.cloudWatchLogs(CloudWatchLogDestinationProperty.builder()
.logGroupArn("logGroupArn")
.build())
.filters(LoggingFilterProperty.builder()
.qspThreshold(123)
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspace.QueryLoggingConfigurationPropertystatic final classAn implementation forCfnWorkspace.QueryLoggingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Defines a destination and its associated filtering criteria for query logging.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinations
Defines a destination and its associated filtering criteria for query logging.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspace.LoggingDestinationProperty>- See Also:
-
builder
-