File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 10
10
11
11
## Version History
12
12
13
+ ### v1.16.0
14
+
15
+ - :rocket : Use single SNS topic for all rules
16
+
13
17
### v1.15.0
14
18
15
19
- :rocket : Automatically remediate ENI & Volume tags
Original file line number Diff line number Diff line change @@ -10,13 +10,6 @@ const resources = {
10
10
DisplayName : cf . stackName
11
11
}
12
12
} ,
13
- HighUrgencyAlarmTopic : {
14
- Type : 'AWS::SNS::Topic' ,
15
- Properties : {
16
- DisplayName : cf . join ( [ cf . stackName , '-high-urgency' ] ) ,
17
- TopicName : cf . join ( [ cf . stackName , '-high-urgency' ] )
18
- }
19
- } ,
20
13
EventRule : {
21
14
Type : 'AWS::Events::Rule' ,
22
15
Properties : {
@@ -87,7 +80,7 @@ const resources = {
87
80
Properties : {
88
81
AlarmName : cf . join ( [ cf . stackName , '-errors' ] ) ,
89
82
ActionsEnabled : true ,
90
- AlarmActions : [ cf . ref ( 'HighUrgencyAlarmTopic ' ) ] ,
83
+ AlarmActions : [ cf . ref ( 'EventNotify ' ) ] ,
91
84
MetricName : 'Errors' ,
92
85
Namespace : 'AWS/Lambda' ,
93
86
Statistic : 'Maximum' ,
@@ -107,7 +100,7 @@ const resources = {
107
100
Properties : {
108
101
AlarmName : cf . join ( [ cf . stackName , '-no-invocations' ] ) ,
109
102
ActionsEnabled : true ,
110
- AlarmActions : [ cf . ref ( 'HighUrgencyAlarmTopic ' ) ] ,
103
+ AlarmActions : [ cf . ref ( 'EventNotify ' ) ] ,
111
104
MetricName : 'Invocations' ,
112
105
Namespace : 'AWS/Lambda' ,
113
106
Statistic : 'Maximum' ,
You can’t perform that action at this time.
0 commit comments