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.4.tar.gz
(32.8 kB
view hashes)
Built Distribution
Close
Hashes for cdk_watchful-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9cf19000122837e40c7aff5cb45bc400aaeec1b14ee459df350bce73d0721a3 |
|
MD5 | 6736d258716c63c4a61ea6c79a03ca50 |
|
BLAKE2b-256 | ab144c5be2508e3ab4f2642d0dac5f66cd982d5605e3f43c2fada0a648314ee3 |