@@ -4,7 +4,7 @@ Resources:
4
4
Type : AWS::CloudWatch::Alarm
5
5
Properties :
6
6
AlarmDescription : Alarm when the Stream errors is more than 1 unit for 15 minutes out of the past 25 minutes. Streams do have retry logic
7
- AlarmName : FhirSolution.High.DDBToESLambdaErrorAlarm
7
+ AlarmName : FhirSolution.${self:custom.stage}. High.DDBToESLambdaErrorAlarm
8
8
ActionsEnabled : False
9
9
ComparisonOperator : GreaterThanOrEqualToThreshold
10
10
EvaluationPeriods : 5
@@ -24,7 +24,7 @@ Resources:
24
24
Type : AWS::CloudWatch::Alarm
25
25
Properties :
26
26
AlarmDescription : Alarm when Fhir errors is more than 1
27
- AlarmName : FhirSolution.High.FhirLambdaErrorAlarm
27
+ AlarmName : FhirSolution.${self:custom.stage}. High.FhirLambdaErrorAlarm
28
28
ActionsEnabled : False
29
29
ComparisonOperator : GreaterThanOrEqualToThreshold
30
30
EvaluationPeriods : 2
@@ -44,7 +44,7 @@ Resources:
44
44
Type : AWS::CloudWatch::Alarm
45
45
Properties :
46
46
AlarmDescription : Alarm when Fhir average latency is more than 2.5s; 2 times
47
- AlarmName : FhirSolution.Low.FhirLambdaLatencyAlarm
47
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirLambdaLatencyAlarm
48
48
ActionsEnabled : False
49
49
ComparisonOperator : GreaterThanOrEqualToThreshold
50
50
EvaluationPeriods : 5
@@ -64,7 +64,7 @@ Resources:
64
64
Type : AWS::CloudWatch::Alarm
65
65
Properties :
66
66
AlarmDescription : Alarm when Api GW has more than 1 5xx errors; 3 times
67
- AlarmName : FhirSolution.High.ApiGateway5XXErrorAlarm
67
+ AlarmName : FhirSolution.${self:custom.stage}. High.ApiGateway5XXErrorAlarm
68
68
ActionsEnabled : False
69
69
ComparisonOperator : GreaterThanOrEqualToThreshold
70
70
EvaluationPeriods : 5
@@ -84,7 +84,7 @@ Resources:
84
84
Type : AWS::CloudWatch::Alarm
85
85
Properties :
86
86
AlarmDescription : Alarm when Api GW has more than 1 4xx errors; 3 times
87
- AlarmName : FhirSolution.Low.ApiGateway4XXErrorAlarm
87
+ AlarmName : FhirSolution.${self:custom.stage}. Low.ApiGateway4XXErrorAlarm
88
88
ActionsEnabled : False
89
89
ComparisonOperator : GreaterThanOrEqualToThreshold
90
90
EvaluationPeriods : 5
@@ -104,7 +104,7 @@ Resources:
104
104
Type : AWS::CloudWatch::Alarm
105
105
Properties :
106
106
AlarmDescription : Alarm when Api GW average latency is more than 3s; 2 times
107
- AlarmName : FhirSolution.Low.ApiGatewayLatencyAlarm
107
+ AlarmName : FhirSolution.${self:custom.stage}. Low.ApiGatewayLatencyAlarm
108
108
ActionsEnabled : False
109
109
ComparisonOperator : GreaterThanOrEqualToThreshold
110
110
EvaluationPeriods : 5
@@ -122,7 +122,7 @@ Resources:
122
122
ClusterStatusRedAlarm :
123
123
Type : ' AWS::CloudWatch::Alarm'
124
124
Properties :
125
- AlarmName : FhirSolution.High.FhirESClusterStatusRedAlarm
125
+ AlarmName : FhirSolution.${self:custom.stage}. High.FhirESClusterStatusRedAlarm
126
126
AlarmDescription : ' Primary and replica shards of at least one index are not allocated to nodes in a cluster.'
127
127
ComparisonOperator : GreaterThanThreshold
128
128
Dimensions :
@@ -141,7 +141,7 @@ Resources:
141
141
Type : ' AWS::CloudWatch::Alarm'
142
142
Condition : isNotDev
143
143
Properties :
144
- AlarmName : FhirSolution.Low.FhirESClusterStatusYellowAlarm
144
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterStatusYellowAlarm
145
145
AlarmDescription : ' Replica shards for at least one index are not allocated to 2 nodes in a cluster.'
146
146
ComparisonOperator : GreaterThanThreshold
147
147
Dimensions :
@@ -158,7 +158,7 @@ Resources:
158
158
ClusterCPUUtilizationTooHighAlarm :
159
159
Type : ' AWS::CloudWatch::Alarm'
160
160
Properties :
161
- AlarmName : FhirSolution.High.FhirESClusterCPUUtilAlarm
161
+ AlarmName : FhirSolution.${self:custom.stage}. High.FhirESClusterCPUUtilAlarm
162
162
AlarmDescription : ' Average CPU utilization over last 10 minutes too high.'
163
163
ComparisonOperator : GreaterThanThreshold
164
164
Dimensions :
@@ -176,7 +176,7 @@ Resources:
176
176
Type : ' AWS::CloudWatch::Alarm'
177
177
Condition : isNotDev
178
178
Properties :
179
- AlarmName : FhirSolution.Low.FhirESClusterMasterCPUUtilAlarm
179
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterMasterCPUUtilAlarm
180
180
AlarmDescription : ' Average CPU utilization over last 10 minutes too high.'
181
181
ComparisonOperator : GreaterThanThreshold
182
182
Dimensions :
@@ -193,7 +193,7 @@ Resources:
193
193
ClusterFreeStorageSpaceTooLowAlarm :
194
194
Type : ' AWS::CloudWatch::Alarm'
195
195
Properties :
196
- AlarmName : FhirSolution.Low.FhirESClusterFreeStorageSpaceTooLowAlarm
196
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterFreeStorageSpaceTooLowAlarm
197
197
AlarmDescription : ' Cluster is running out of storage space.'
198
198
ComparisonOperator : LessThanThreshold
199
199
Dimensions :
@@ -210,7 +210,7 @@ Resources:
210
210
ClusterIndexWritesBlockedTooHighAlarm :
211
211
Type : ' AWS::CloudWatch::Alarm'
212
212
Properties :
213
- AlarmName : FhirSolution.Low.FhirESClusterIndexWritesBlockedTooHighAlarm
213
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterIndexWritesBlockedTooHighAlarm
214
214
AlarmDescription : ' Cluster is blocking incoming write requests.'
215
215
ComparisonOperator : GreaterThanThreshold
216
216
Dimensions :
@@ -227,7 +227,7 @@ Resources:
227
227
ClusterJVMMemoryPressureTooHighAlarm :
228
228
Type : ' AWS::CloudWatch::Alarm'
229
229
Properties :
230
- AlarmName : FhirSolution.Low.FhirESClusterJVMMemoryAlarm
230
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterJVMMemoryAlarm
231
231
AlarmDescription : ' Average JVM memory pressure over last 10 minutes too high.'
232
232
ComparisonOperator : GreaterThanThreshold
233
233
Dimensions :
@@ -245,7 +245,7 @@ Resources:
245
245
Type : ' AWS::CloudWatch::Alarm'
246
246
Condition : isNotDev
247
247
Properties :
248
- AlarmName : FhirSolution.Low.FhirESClusterMasterJVMMemoryAlarm
248
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterMasterJVMMemoryAlarm
249
249
AlarmDescription : ' Average JVM memory pressure over last 10 minutes too high.'
250
250
ComparisonOperator : GreaterThanThreshold
251
251
Dimensions :
@@ -263,7 +263,7 @@ Resources:
263
263
Type : ' AWS::CloudWatch::Alarm'
264
264
Condition : isNotDev
265
265
Properties :
266
- AlarmName : FhirSolution.Low.FhirESClusterMasterNotReachableFromNodeAlarm
266
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterMasterNotReachableFromNodeAlarm
267
267
AlarmDescription : ' Master node stopped or not reachable. Usually the result of a network connectivity issue or AWS dependency problem.'
268
268
ComparisonOperator : LessThanThreshold
269
269
Dimensions :
@@ -281,7 +281,7 @@ Resources:
281
281
Type : ' AWS::CloudWatch::Alarm'
282
282
Condition : isNotDev
283
283
Properties :
284
- AlarmName : FhirSolution.Low.FhirESClusterSnapshotFailureAlarm
284
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterSnapshotFailureAlarm
285
285
AlarmDescription : ' No automated snapshot was taken for the domain in the previous 36 hours.'
286
286
ComparisonOperator : GreaterThanThreshold
287
287
Dimensions :
@@ -299,7 +299,7 @@ Resources:
299
299
Type : ' AWS::CloudWatch::Alarm'
300
300
Condition : isDev
301
301
Properties :
302
- AlarmName : FhirSolution.Low.FhirESClusterKibanaAlarm
302
+ AlarmName : FhirSolution.${self:custom.stage}. Low.FhirESClusterKibanaAlarm
303
303
AlarmDescription : ' Kibana is inaccessible.'
304
304
ComparisonOperator : LessThanThreshold
305
305
Dimensions :
@@ -316,7 +316,7 @@ Resources:
316
316
ClusterKMSKeyErrorAlarm :
317
317
Type : ' AWS::CloudWatch::Alarm'
318
318
Properties :
319
- AlarmName : FhirSolution.High.FhirESClusterKMSErrorAlarm
319
+ AlarmName : FhirSolution.${self:custom.stage}. High.FhirESClusterKMSErrorAlarm
320
320
AlarmDescription : ' KMS customer master key used to encrypt data at rest has been disabled.'
321
321
ComparisonOperator : GreaterThanThreshold
322
322
Dimensions :
@@ -333,7 +333,7 @@ Resources:
333
333
ClusterKMSKeyInaccessibleAlarm :
334
334
Type : ' AWS::CloudWatch::Alarm'
335
335
Properties :
336
- AlarmName : FhirSolution.High.FhirESClusterKMSInaccessibleAlarm
336
+ AlarmName : FhirSolution.${self:custom.stage}. High.FhirESClusterKMSInaccessibleAlarm
337
337
AlarmDescription : ' KMS customer master key used to encrypt data at rest has been deleted or revoked its grants to Amazon ES.'
338
338
ComparisonOperator : GreaterThanThreshold
339
339
Dimensions :
0 commit comments