class Aws::CloudWatch::Types::AnomalyDetectorConfiguration
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.
@note When making an API call, you may pass AnomalyDetectorConfiguration
data as a hash: { excluded_time_ranges: [ { start_time: Time.now, # required end_time: Time.now, # required }, ], metric_timezone: "AnomalyDetectorMetricTimezone", }
@!attribute [rw] excluded_time_ranges
An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model. @return [Array<Types::Range>]
@!attribute [rw] metric_timezone
The time zone to use for the metric. This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes. To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see [tz database][1]. [1]: https://en.wikipedia.org/wiki/Tz_database @return [String]
@see docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AnomalyDetectorConfiguration AWS API Documentation
Constants
- SENSITIVE