Lambda Custom Resource that emits a metric on the size of your DynamoDB Tables.
Project description
Python
from aws_cdk import core
from ddbsizemetric import DDBSizeLib
class MyStack(core.Stack):
def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
super().__init__(scope, id, **kwargs)
# The polling frequency defaults to once every 6 hours, which is how frequently DynamoDB updates the Table information.
DDBSizeLib(self, "MyDynamoTableScanner")
Javascript
import ddbsizemetric = require('@richardhboyd/ddbsizemetric');
import cdk = require('@aws-cdk/core');
export class DdbTestJsStack extends cdk.Stack {
constructor(scope: cdk.App, id: string, props?: cdk.StackProps) {
super(scope, id, props);
new ddbsizemetric.DDBSizeLib(this, "MyDynamoTableScanner")
}
}
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
ddbsizemetric-0.1.0a9.tar.gz
(9.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ddbsizemetric-0.1.0a9.tar.gz.
File metadata
- Download URL: ddbsizemetric-0.1.0a9.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a24550bbb87e8a5a977ad8853e4de35573a686a028dac7472e64054a0aaee0e1
|
|
| MD5 |
8d7011c8a2b5e023a3fd24d7bcec040a
|
|
| BLAKE2b-256 |
aea5b0adfd483c791a15f50de6e276c4dfb5fd5b90a4efbe56e8029b515d85c1
|
File details
Details for the file ddbsizemetric-0.1.0a9-py3-none-any.whl.
File metadata
- Download URL: ddbsizemetric-0.1.0a9-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3084dc5d672bfa39a886ae4f2a3b5a03879277a85af35a9c94dc4a5f91901a57
|
|
| MD5 |
f3eb590d6298ea4f8fda145d070f761d
|
|
| BLAKE2b-256 |
67f513773783eb2a5092a044f435316f3ce2d28f086fbea00ed0b3c60f30d09b
|