SingleMetricAnomalyDetector
Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.
Contents
- Dimensions.member.N
-
The metric dimensions to create the anomaly detection model for.
Type: Array of Dimension objects
Array Members: Maximum number of 30 items.
Required: No
- MetricName
-
The name of the metric to create the anomaly detection model for.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: No
- Namespace
-
The namespace of the metric to create the anomaly detection model for.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[^:].*
Required: No
- Stat
-
The statistic to use for the metric and anomaly detection model.
Type: String
Length Constraints: Maximum length of 50.
Pattern:
(SampleCount|Average|Sum|Minimum|Maximum|IQM|(p|tc|tm|ts|wm)(\d{1,2}(\.\d{0,10})?|100)|[ou]\d+(\.\d*)?)(_E|_L|_H)?|(TM|TC|TS|WM)\(((((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%)?:((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%|((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%:(((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%)?)\)|(TM|TC|TS|WM|PR)\(((\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)):((\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)))?|((\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)))?:(\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)))\)
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: