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.
Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z
public class SingleMetricAnomalyDetector
The SingleMetricAnomalyDetector type exposes the following members
Name | Description | |
---|---|---|
![]() |
SingleMetricAnomalyDetector() |
Name | Type | Description | |
---|---|---|---|
![]() |
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. |
![]() |
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. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
MetricName | System.String |
Gets and sets the property MetricName. The name of the metric to create the anomaly detection model for. |
![]() |
Namespace | System.String |
Gets and sets the property Namespace. The namespace of the metric to create the anomaly detection model for. |
![]() |
Stat | System.String |
Gets and sets the property Stat. The statistic to use for the metric and anomaly detection model. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer