lib/aws-sdk-cloudwatch/alarm.rb in aws-sdk-cloudwatch-1.2.0 vs lib/aws-sdk-cloudwatch/alarm.rb in aws-sdk-cloudwatch-1.3.0
- old
+ new
@@ -153,9 +153,15 @@
# @return [Integer]
def evaluation_periods
data[:evaluation_periods]
end
+ # The number of datapoints that must be breaching to trigger the alarm.
+ # @return [Integer]
+ def datapoints_to_alarm
+ data[:datapoints_to_alarm]
+ end
+
# The value to compare with the specified statistic.
# @return [Float]
def threshold
data[:threshold]
end