Skip to content

Commit af780b6

Browse files
authored
Add comparison_operator to DMSCluster storage space alarms (#140)
1 parent fa714c9 commit af780b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/cfnguardian/resources/dms_cluster.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def default_alarms
2525
alarm.statistic = 'Minimum'
2626
alarm.threshold = 10000000000
2727
alarm.evaluation_periods = 1
28+
alarm.comparison_operator = 'LessThanThreshold'
2829
@alarms.push(alarm)
2930

3031
alarm = CfnGuardian::Models::DMSClusterAlarm.new(@resource)
@@ -34,6 +35,7 @@ def default_alarms
3435
alarm.threshold = 20000000000
3536
alarm.evaluation_periods = 1
3637
alarm.alarm_action = 'Warning'
38+
alarm.comparison_operator = 'LessThanThreshold'
3739
@alarms.push(alarm)
3840
end
3941
end

0 commit comments

Comments
 (0)