Class CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty
Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.
Inheritance
System.Object
CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class SingleMetricAnomalyDetectorProperty : Object, CfnAnomalyDetector.ISingleMetricAnomalyDetectorProperty
Syntax (vb)
Public Class SingleMetricAnomalyDetectorProperty
Inherits Object
Implements CfnAnomalyDetector.ISingleMetricAnomalyDetectorProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;
var singleMetricAnomalyDetectorProperty = new SingleMetricAnomalyDetectorProperty {
Dimensions = new [] { new DimensionProperty {
Name = "name",
Value = "value"
} },
MetricName = "metricName",
Namespace = "namespace",
Stat = "stat"
};
Synopsis
Constructors
SingleMetricAnomalyDetectorProperty() |
Properties
Dimensions | The metric dimensions to create the anomaly detection model for. |
MetricName | The name of the metric to create the anomaly detection model for. |
Namespace | The namespace of the metric to create the anomaly detection model for. |
Stat | The statistic to use for the metric and anomaly detection model. |
Constructors
SingleMetricAnomalyDetectorProperty()
public SingleMetricAnomalyDetectorProperty()
Properties
Dimensions
The metric dimensions to create the anomaly detection model for.
public object Dimensions { get; set; }
Property Value
System.Object
Remarks
MetricName
The name of the metric to create the anomaly detection model for.
public string MetricName { get; set; }
Property Value
System.String
Remarks
Namespace
The namespace of the metric to create the anomaly detection model for.
public string Namespace { get; set; }
Property Value
System.String
Remarks
Stat
The statistic to use for the metric and anomaly detection model.
public string Stat { get; set; }
Property Value
System.String