Interface CfnAnomalyDetectorMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnomalyDetectorMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:22.829Z")
@Stability(Stable)
public interface CfnAnomalyDetectorMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAnomalyDetectorPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.aps.mixins.*;
CfnAnomalyDetectorMixinProps cfnAnomalyDetectorMixinProps = CfnAnomalyDetectorMixinProps.builder()
.alias("alias")
.configuration(AnomalyDetectorConfigurationProperty.builder()
.randomCutForest(RandomCutForestConfigurationProperty.builder()
.ignoreNearExpectedFromAbove(IgnoreNearExpectedProperty.builder()
.amount(123)
.ratio(123)
.build())
.ignoreNearExpectedFromBelow(IgnoreNearExpectedProperty.builder()
.amount(123)
.ratio(123)
.build())
.query("query")
.sampleSize(123)
.shingleSize(123)
.build())
.build())
.evaluationIntervalInSeconds(123)
.labels(List.of(LabelProperty.builder()
.key("key")
.value("value")
.build()))
.missingDataAction(MissingDataActionProperty.builder()
.markAsAnomaly(false)
.skip(false)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.workspace("workspace")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnomalyDetectorMixinPropsstatic final classAn implementation forCfnAnomalyDetectorMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetAlias()The user-friendly name of the anomaly detector.default ObjectThe algorithm configuration of the anomaly detector.default NumberThe frequency, in seconds, at which the anomaly detector evaluates metrics.default ObjectThe Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.default ObjectThe action taken when data is missing during evaluation.getTags()The tags applied to the anomaly detector.default StringAn Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlias
The user-friendly name of the anomaly detector.- See Also:
-
getConfiguration
The algorithm configuration of the anomaly detector.Returns union: either
IResolvableorCfnAnomalyDetectorPropsMixin.AnomalyDetectorConfigurationProperty- See Also:
-
getEvaluationIntervalInSeconds
The frequency, in seconds, at which the anomaly detector evaluates metrics.Default: - 60
- See Also:
-
getLabels
The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAnomalyDetectorPropsMixin.LabelProperty>- See Also:
-
getMissingDataAction
The action taken when data is missing during evaluation.Returns union: either
IResolvableorCfnAnomalyDetectorPropsMixin.MissingDataActionProperty- See Also:
-
getTags
The tags applied to the anomaly detector.- See Also:
-
getWorkspace
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.- See Also:
-
builder
-