Interface CfnWorkspace.LoggingDestinationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.LoggingDestinationProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.LoggingDestinationProperty
extends software.amazon.jsii.JsiiSerializable
The logging destination 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.*;
LoggingDestinationProperty loggingDestinationProperty = LoggingDestinationProperty.builder()
.cloudWatchLogs(CloudWatchLogDestinationProperty.builder()
.logGroupArn("logGroupArn")
.build())
.filters(LoggingFilterProperty.builder()
.qspThreshold(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspace.LoggingDestinationPropertystatic final classAn implementation forCfnWorkspace.LoggingDestinationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Configuration details for logging to CloudWatch Logs.Filtering criteria that determine which queries are logged.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLogs
Configuration details for logging to CloudWatch Logs.Returns union: either
IResolvableorCfnWorkspace.CloudWatchLogDestinationProperty- See Also:
-
getFilters
Filtering criteria that determine which queries are logged.Returns union: either
IResolvableorCfnWorkspace.LoggingFilterProperty- See Also:
-
builder
-