{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "SingleMetricAnomalyDetector", "type": "object", "description": "Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.", "properties": { "AccountId": { "type": "string", "description": "If the CloudWatch metric that provides the time series is in another account, use this to specify that account ID." }, "Namespace": { "type": "string", "description": "The namespace of the metric to create the anomaly detection model for." }, "MetricName": { "type": "string", "description": "The name of the metric to create the anomaly detection model for." }, "Dimensions": { "type": "array", "description": "The metric dimensions to create the anomaly detection model for." }, "Stat": { "type": "string", "description": "The statistic to use for the metric and anomaly detection model." } } }