AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed.

If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.AnomalyDetector

Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z

Syntax

C#
public class AnomalyDetector

The AnomalyDetector type exposes the following members

Constructors

NameDescription
Public Method AnomalyDetector()

Properties

NameTypeDescription
Public Property Configuration Amazon.CloudWatch.Model.AnomalyDetectorConfiguration

Gets and sets the property Configuration.

The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.

Public Property Dimensions System.Collections.Generic.List<Amazon.CloudWatch.Model.Dimension>

Gets and sets the property Dimensions.

The metric dimensions associated with the anomaly detection model.

Public Property MetricCharacteristics Amazon.CloudWatch.Model.MetricCharacteristics

Gets and sets the property MetricCharacteristics.

This object includes parameters that you can use to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes parameter.

Public Property MetricMathAnomalyDetector Amazon.CloudWatch.Model.MetricMathAnomalyDetector

Gets and sets the property MetricMathAnomalyDetector.

The CloudWatch metric math expression for this anomaly detector.

Public Property MetricName System.String

Gets and sets the property MetricName.

The name of the metric associated with the anomaly detection model.

Public Property Namespace System.String

Gets and sets the property Namespace.

The namespace of the metric associated with the anomaly detection model.

Public Property SingleMetricAnomalyDetector Amazon.CloudWatch.Model.SingleMetricAnomalyDetector

Gets and sets the property SingleMetricAnomalyDetector.

The CloudWatch metric and statistic for this anomaly detector.

Public Property Stat System.String

Gets and sets the property Stat.

The statistic associated with the anomaly detection model.

Public Property StateValue Amazon.CloudWatch.AnomalyDetectorStateValue

Gets and sets the property StateValue.

The current status of the anomaly detector's training.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5