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

Package Sidebar

Install

npm i serverless-dynamodb-alarms-plugin

Weekly Downloads

19

Version

0.1.5

License

MIT

Unpacked Size

22.6 kB

Total Files

7

Last publish

Collaborators

  • patrykmilewski