0.1.0-alpha.9 • Published 5 years ago
@richardhboyd/ddbsizemetric v0.1.0-alpha.9
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")
}
}
0.1.0-alpha.9
5 years ago
0.1.0-alpha.8
5 years ago
0.1.0-alpha.7
5 years ago
0.1.0-alpha.6
5 years ago
0.1.0-alpha.3
5 years ago