Skip to content

Commit f1d3906

Browse files
committed
fix cfn level
1 parent f73443a commit f1d3906

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

cloudformation/main.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -303,24 +303,24 @@ Resources:
303303
- Name: 'ApiName'
304304
Value: !Sub ${ApplicationPrefix}-gateway
305305

306-
AppApiGatewayNoRequestsAlarm:
307-
Type: 'AWS::CloudWatch::Alarm'
308-
Condition: IsProd
309-
Properties:
310-
AlarmName: !Sub ${ApplicationPrefix}-gateway-no-requests
311-
AlarmDescription: 'No requests have been received in the past 5 minutes.'
312-
Namespace: 'AWS/ApiGateway'
313-
MetricName: 'Count'
314-
Statistic: 'Sum'
315-
Period: '300'
316-
EvaluationPeriods: '1'
317-
ComparisonOperator: 'LessThanThreshold'
318-
Threshold: '1'
319-
AlarmActions:
320-
- !Ref AlertSNSArn
321-
Dimensions:
322-
- Name: 'ApiName'
323-
Value: !Sub ${ApplicationPrefix}-gateway
306+
AppApiGatewayNoRequestsAlarm:
307+
Type: 'AWS::CloudWatch::Alarm'
308+
Condition: IsProd
309+
Properties:
310+
AlarmName: !Sub ${ApplicationPrefix}-gateway-no-requests
311+
AlarmDescription: 'No requests have been received in the past 5 minutes.'
312+
Namespace: 'AWS/ApiGateway'
313+
MetricName: 'Count'
314+
Statistic: 'Sum'
315+
Period: '300'
316+
EvaluationPeriods: '1'
317+
ComparisonOperator: 'LessThanThreshold'
318+
Threshold: '1'
319+
AlarmActions:
320+
- !Ref AlertSNSArn
321+
Dimensions:
322+
- Name: 'ApiName'
323+
Value: !Sub ${ApplicationPrefix}-gateway
324324

325325
AppApiGateway5XXErrorAlarm:
326326
Type: 'AWS::CloudWatch::Alarm'

0 commit comments

Comments
 (0)