Skip to content

Commit

Permalink
Merge 9321990 into 611be92
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwinch committed Jan 10, 2019
2 parents 611be92 + 9321990 commit 2d73271
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions handlers/new-product-api/cfn.yaml
Expand Up @@ -326,26 +326,3 @@ Resources:
Statistic: Sum
Threshold: 5
TreatMissingData: notBreaching
4xxApiAlarm:
Type: AWS::CloudWatch::Alarm
Condition: CreateProdMonitoring
Properties:
AlarmActions:
- !Sub arn:aws:sns:${AWS::Region}:${AWS::AccountId}:subscriptions_dev
AlarmName:
!Sub
- 4XX rate from ${ApiName}
- { ApiName: !FindInMap [StageMap, !Ref Stage, ApiName] }
ComparisonOperator: GreaterThanThreshold
Dimensions:
- Name: ApiName
Value: !FindInMap [StageMap, !Ref Stage, ApiName]
- Name: Stage
Value: !Sub ${Stage}
EvaluationPeriods: 1
MetricName: 4XXError
Namespace: AWS/ApiGateway
Period: 3600
Statistic: Sum
Threshold: 5
TreatMissingData: notBreaching

0 comments on commit 2d73271

Please sign in to comment.