{"id":26218415,"url":"https://github.com/awsdataarchitect/dynamdb-l1-construct-with-autoscaling","last_synced_at":"2026-06-01T09:32:05.138Z","repository":{"id":237371229,"uuid":"794397076","full_name":"awsdataarchitect/dynamdb-l1-construct-with-autoscaling","owner":"awsdataarchitect","description":"Example open-source repo for Scaling DynamoDB Capacity using AWS-CDK L1 Construct Library that does not natively support auto-scaling in CfnTable construct","archived":false,"fork":false,"pushed_at":"2024-05-01T04:31:54.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T21:23:19.397Z","etag":null,"topics":["aws","cdk","cdk-construct-library","cloudformation","dynamodb"],"latest_commit_sha":null,"homepage":"https://vivek-aws.medium.com/scaling-dynamodb-capacity-using-aws-cdk-l1-construct-library-that-does-not-natively-support-cf3ace6d041d","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awsdataarchitect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-01T04:06:46.000Z","updated_at":"2025-10-18T16:32:47.000Z","dependencies_parsed_at":"2024-05-01T05:24:31.341Z","dependency_job_id":"21a8f27d-452d-4c81-96e1-354784429466","html_url":"https://github.com/awsdataarchitect/dynamdb-l1-construct-with-autoscaling","commit_stats":null,"previous_names":["awsdataarchitect/dynamdb-l1-construct-with-autoscaling"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awsdataarchitect/dynamdb-l1-construct-with-autoscaling","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awsdataarchitect","download_url":"https://codeload.github.com/awsdataarchitect/dynamdb-l1-construct-with-autoscaling/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33769490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cdk","cdk-construct-library","cloudformation","dynamodb"],"created_at":"2025-03-12T13:16:54.261Z","updated_at":"2026-06-01T09:32:05.119Z","avatar_url":"https://github.com/awsdataarchitect.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example open-source repo for Scaling DynamoDB Capacity using AWS-CDK L1 Construct Library that does not natively support auto-scaling in CfnTable construct\n\nIf you are using only L1 constructs in your application, then DynamoDB tables Level 1 construct (CfnTable), does not natively support auto-scaling for local table, so how does one implement the Autoscaling for provisioned read/writes ? \n\nNote: CfnTable  does however support Autoscaling for the Global Tables in CloudFormation templates\n\nTo understand the root cause, this is because the Level 1 construct `CfnTable` maps directly to the CloudFormation resource `AWS::DynamoDB::Table` and you can only define the resource's properties when using the Level 1 construct. \n\nDynamoDB uses Application Autoscaling to automatically scale the table's capacity . \nThus, you would need to use the `CfnScalableTarget` \u0026 `CfnScalingPolicy` constructs of application autoscaling resource to enable autoscaling on DynamoDB.\n\nThis sample repo shows implementation using AWS CDK Application Auto Scaling L1 construct library for a DynamoDb resource.\n\nFor more details, refer to the [Blog Post](https://vivek-aws.medium.com/scaling-dynamodb-capacity-using-aws-cdk-l1-construct-library-that-does-not-natively-support-cf3ace6d041d).\n\n\nThe `cdk.json` file tells the CDK Toolkit how to execute your app.\n\n## Useful commands\n\n* `npm run build`   compile typescript to js\n* `npm run watch`   watch for changes and compile\n* `npm run test`    perform the jest unit tests\n* `npx cdk deploy`  deploy this stack to your default AWS account/region\n* `npx cdk diff`    compare deployed stack with current state\n* `npx cdk synth`   emits the synthesized CloudFormation template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsdataarchitect%2Fdynamdb-l1-construct-with-autoscaling/lists"}