Class: Humidifier::CloudWatch::AnomalyDetector

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::CloudWatch::AnomalyDetector resource

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#configurationObject

returns the Configuration property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def configuration
  properties['configuration']
end

#configuration=(value) ⇒ Object

sets the Configuration property (Structure)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def configuration=(value)
  update_property('configuration', value)
end

#dimensionsObject

returns the Dimensions property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def dimensions
  properties['dimensions']
end

#dimensions=(value) ⇒ Object

sets the Dimensions property (List)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def dimensions=(value)
  update_property('dimensions', value)
end

#metric_math_anomaly_detectorObject

returns the MetricMathAnomalyDetector property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def metric_math_anomaly_detector
  properties['metric_math_anomaly_detector']
end

#metric_math_anomaly_detector=(value) ⇒ Object

sets the MetricMathAnomalyDetector property (Structure)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def metric_math_anomaly_detector=(value)
  update_property('metric_math_anomaly_detector', value)
end

#metric_nameObject

returns the MetricName property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def metric_name
  properties['metric_name']
end

#metric_name=(value) ⇒ Object

sets the MetricName property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def metric_name=(value)
  update_property('metric_name', value)
end

#namespaceObject

returns the Namespace property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def namespace
  properties['namespace']
end

#namespace=(value) ⇒ Object

sets the Namespace property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def namespace=(value)
  update_property('namespace', value)
end

#single_metric_anomaly_detectorObject

returns the SingleMetricAnomalyDetector property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def single_metric_anomaly_detector
  properties['single_metric_anomaly_detector']
end

#single_metric_anomaly_detector=(value) ⇒ Object

sets the SingleMetricAnomalyDetector property (Structure)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def single_metric_anomaly_detector=(value)
  update_property('single_metric_anomaly_detector', value)
end

#statObject

returns the Stat property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def stat
  properties['stat']
end

#stat=(value) ⇒ Object

sets the Stat property (String)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def stat=(value)
  update_property('stat', value)
end