serverless-dynamodb-alarms-plugin
v0.1.5
Published
Serverless plugin to create fixed read/write capacity alarms for all DynamoDB tables.
Downloads
36
Maintainers
Readme
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