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. In this example, we set it to once every 12 hours.
DDBSizeLib(self, "MyDynamoTableScanner", polling_frequency=core.Duration.hours(12))
Javascript
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.0a8.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for ddbsizemetric-0.1.0a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f0a789612842860b519ccd6671714f9e81662b410e58de93e7dc2d67c722bb |
|
MD5 | dd7ee71279c88f23e33e7b7898f174da |
|
BLAKE2b-256 | 314fbb9b9913291e0727a00e49e454501ccd6f22fe4c51bf5d4315c8f85f5c70 |