Skip to content

Commit

Permalink
Add threshold metric to CloudWatch::Alarm (#1489)
Browse files Browse the repository at this point in the history
* Add ThresholdMetricId props to AWS::CloudWatch::Alarm
* Threshold of AWS::CloudWatch::Alarm is not mandatory
  • Loading branch information
ScOut3R authored and markpeek committed Sep 15, 2019
1 parent 4a97761 commit e3d5a81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion troposphere/cloudwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ class Alarm(AWSObject):
'OKActions': ([basestring], False),
'Period': (positive_integer, False),
'Statistic': (basestring, False),
'Threshold': (double, True),
'Threshold': (double, False),
'ThresholdMetricId': (basestring, False),
'TreatMissingData': (basestring, False),
'Unit': (basestring, False),
}
Expand Down

0 comments on commit e3d5a81

Please sign in to comment.