Watching your CDK apps since 2019
Project description
cdk-watchful
Watching your CDK back since 2019
Watchful is an AWS CDK construct library that makes it easy to monitor CDK apps.
Watchful is released through jsii to:
- npm (JavaScript/TypeScript)
- PyPI (Pyton)
Watchful can manage a nice central dashboard and automatically configure alarms for the following AWS resources:
- Amazon DynamoDB
- AWS Lambda
- ...more to come!
To get started, just define a Watchful
construct in your CDK app (code is in
TypeScript, but python will work too):
const wf = new Watchful(this, 'watchful', {
alarmEmail: 'your@email.com'
});
And then, add your resources to it:
// `table` is a dynamodb.Table construct
wf.watchDynamoTable('My Happy Little Table', table);
// `fn` is a lambda.Function construct
wf.watchLambdaFunction('The Function', fn);
Constructs that implement IWatchable
can be added with:
wf.watch(watchable);
And they will get a chance to add themselves to the watchful dashboard.
Example
See a more complete example.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdk-watchful-0.1.3.tar.gz
(32.2 kB
view hashes)
Built Distribution
Close
Hashes for cdk_watchful-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96c950666b92ba1564cfeeceb6ab855aed66b8bd77de6f56301dc3ef9dff56a |
|
MD5 | 587ef8e4a07defc078c1281f3ad04160 |
|
BLAKE2b-256 | 39d3b95264f3c08b77ebbb3446056a03aa1291f482d8f2c08a17e89068cb52a1 |