Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddbsizemetric-0.1.0a8-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file ddbsizemetric-0.1.0a8.tar.gz.

File metadata

  • Download URL: ddbsizemetric-0.1.0a8.tar.gz
  • Upload date:
  • Size: 9.7 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

Hashes for ddbsizemetric-0.1.0a8.tar.gz
Algorithm Hash digest
SHA256 b705d77c35397fa89a73b366a51e30d64406256ee4d3a48c544e082efa8ffc9a
MD5 a7da85cedca006de374d333bc9bedc3a
BLAKE2b-256 35b1338c5ca252b391fad542397c21d66f4877a36bfb2921014c5f7f86994012

See more details on using hashes here.

File details

Details for the file ddbsizemetric-0.1.0a8-py3-none-any.whl.

File metadata

  • Download URL: ddbsizemetric-0.1.0a8-py3-none-any.whl
  • Upload date:
  • Size: 10.1 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

Hashes for ddbsizemetric-0.1.0a8-py3-none-any.whl
Algorithm Hash digest
SHA256 76f0a789612842860b519ccd6671714f9e81662b410e58de93e7dc2d67c722bb
MD5 dd7ee71279c88f23e33e7b7898f174da
BLAKE2b-256 314fbb9b9913291e0727a00e49e454501ccd6f22fe4c51bf5d4315c8f85f5c70

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page