Class: Aws::CloudWatch::Types::AnomalyDetectorConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatch/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#excluded_time_rangesArray<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.

Returns:



145
146
147
148
149
150
# File 'lib/aws-sdk-cloudwatch/types.rb', line 145

class AnomalyDetectorConfiguration < Struct.new(
  :excluded_time_ranges,
  :metric_timezone)
  SENSITIVE = []
  include Aws::Structure
end

#metric_timezoneString

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]: en.wikipedia.org/wiki/Tz_database

Returns:

  • (String)


145
146
147
148
149
150
# File 'lib/aws-sdk-cloudwatch/types.rb', line 145

class AnomalyDetectorConfiguration < Struct.new(
  :excluded_time_ranges,
  :metric_timezone)
  SENSITIVE = []
  include Aws::Structure
end