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 hashes)
Built Distribution
Close
Hashes for ddbsizemetric-0.1.0a9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3084dc5d672bfa39a886ae4f2a3b5a03879277a85af35a9c94dc4a5f91901a57 |
|
MD5 | f3eb590d6298ea4f8fda145d070f761d |
|
BLAKE2-256 | 67f513773783eb2a5092a044f435316f3ce2d28f086fbea00ed0b3c60f30d09b |