@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.227Z") @Stability(value=Stable) public interface CfnAnomalyDetectorProps extends software.amazon.jsii.JsiiSerializable
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.cloudwatch.*;
CfnAnomalyDetectorProps cfnAnomalyDetectorProps = CfnAnomalyDetectorProps.builder()
.configuration(ConfigurationProperty.builder()
.excludedTimeRanges(List.of(RangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.metricTimeZone("metricTimeZone")
.build())
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricMathAnomalyDetector(MetricMathAnomalyDetectorProperty.builder()
.metricDataQueries(List.of(MetricDataQueryProperty.builder()
.id("id")
// the properties below are optional
.accountId("accountId")
.expression("expression")
.label("label")
.metricStat(MetricStatProperty.builder()
.metric(MetricProperty.builder()
.metricName("metricName")
.namespace("namespace")
// the properties below are optional
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.period(123)
.stat("stat")
// the properties below are optional
.unit("unit")
.build())
.period(123)
.returnData(false)
.build()))
.build())
.metricName("metricName")
.namespace("namespace")
.singleMetricAnomalyDetector(SingleMetricAnomalyDetectorProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.stat("stat")
.build())
.stat("stat")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalyDetectorProps.Builder
A builder for
CfnAnomalyDetectorProps |
static class |
CfnAnomalyDetectorProps.Jsii$Proxy
An implementation for
CfnAnomalyDetectorProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalyDetectorProps.Builder |
builder() |
default Object |
getConfiguration()
Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.
|
default Object |
getDimensions()
The dimensions of the metric associated with the anomaly detection band.
|
default Object |
getMetricMathAnomalyDetector()
The CloudWatch metric math expression for this anomaly detector.
|
default String |
getMetricName()
The name of the metric associated with the anomaly detection band.
|
default String |
getNamespace()
The namespace of the metric associated with the anomaly detection band.
|
default Object |
getSingleMetricAnomalyDetector()
The CloudWatch metric and statistic for this anomaly detector.
|
default String |
getStat()
The statistic of the metric associated with the anomaly detection band.
|
@Stability(value=Stable) @Nullable default Object getConfiguration()
The configuration can also include the time zone to use for the metric.
@Stability(value=Stable) @Nullable default Object getDimensions()
@Stability(value=Stable) @Nullable default Object getMetricMathAnomalyDetector()
@Stability(value=Stable) @Nullable default String getMetricName()
@Stability(value=Stable) @Nullable default String getNamespace()
@Stability(value=Stable) @Nullable default Object getSingleMetricAnomalyDetector()
@Stability(value=Stable) @Nullable default String getStat()
@Stability(value=Stable) static CfnAnomalyDetectorProps.Builder builder()
CfnAnomalyDetectorProps.Builder of CfnAnomalyDetectorPropsCopyright © 2022. All rights reserved.