Skip to content

Commit

Permalink
Allow referencing alarms by their name (davidgf#39)
Browse files Browse the repository at this point in the history
* Allow referencing alarms by their name

* Update dependencies

* Add documentation
  • Loading branch information
davidgf committed Oct 21, 2018
1 parent 6ef3c73 commit 56dcd92
Show file tree
Hide file tree
Showing 7 changed files with 2,458 additions and 1,654 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ functions:
preTrafficHook: preHook
postTrafficHook: postHook
alarms:
- FooAlarm
- BarAlarm
- FooAlarm # When a string is provided, it expects the alarm Logical ID
- name: BarAlarm # When an object is provided, it expects the alarm name in the name property

preHook:
handler: hooks.pre
postHook:
Expand Down
Loading

0 comments on commit 56dcd92

Please sign in to comment.