Miss any of our Open RFC calls?Watch the recordings here! »

serverless-dynamodb-alarms-plugin

0.1.5 • Public • Published

Create Cloudwatch alarms for all DynamoDB tables' read and write capacity.

Usage

In Serverless template:

plugins:
  - serverless-dynamodb-alarms-plugin

custom:
  ddbAlarms:
    read:
      provisionedCapacityUnitsAlarmThreshold: 3000
      throttleEvents: 1
    write:
      provisionedCapacityUnitsAlarmThreshold: 3000
      throttleEvents: 1  
    period: 60
    evaluationPeriods: 1
    topicName: snsNotificationTopic
    filter:
      - "*"

Match only listed tables:

custom:
  ddbAlarms:
    read:
      provisionedCapacityUnitsAlarmThreshold: 3000
      throttleEvents: 1
    write:
      provisionedCapacityUnitsAlarmThreshold: 3000
      throttleEvents: 1  
    period: 60
    evaluationPeriods: 1
    topicName: snsNotificationTopic
    filter:
      - Exmaple1Table
      - Example2Table

Install

npm i serverless-dynamodb-alarms-plugin

DownloadsWeekly Downloads

1

Version

0.1.5

License

MIT

Unpacked Size

22.6 kB

Total Files

7

Last publish

Collaborators

  • avatar