You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatch::Types::AnomalyDetectorConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::AnomalyDetectorConfiguration
- Defined in:
- (unknown)
Overview
When passing AnomalyDetectorConfiguration as input to an Aws::Client method, you can use a vanilla Hash:
{
excluded_time_ranges: [
{
start_time: Time.now, # required
end_time: Time.now, # required
},
],
metric_timezone: "AnomalyDetectorMetricTimezone",
}
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.
Returned by:
Instance Attribute Summary collapse
-
#excluded_time_ranges ⇒ Array<Types::Range>
An array of time ranges to exclude from use when the anomaly detection model is trained.
-
#metric_timezone ⇒ String
The time zone to use for the metric.
Instance Attribute Details
#excluded_time_ranges ⇒ Array<Types::Range>
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.
#metric_timezone ⇒ String
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.