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.

Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input. 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.SingleMetricAnomalyDetector

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

Syntax

C#
public class SingleMetricAnomalyDetector

The SingleMetricAnomalyDetector type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AccountId System.String

Gets and sets the property AccountId.

If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.

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

Gets and sets the property Dimensions.

The metric dimensions to create the anomaly detection model for.

Public Property MetricName System.String

Gets and sets the property MetricName.

The name of the metric to create the anomaly detection model for.

Public Property Namespace System.String

Gets and sets the property Namespace.

The namespace of the metric to create the anomaly detection model for.

Public Property Stat System.String

Gets and sets the property Stat.

The statistic to use for the metric and anomaly detection model.

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