localstack-samples/sample-cdk-cognito-dynamodb-api-gateway
Update sample from AWS CDK v1 to CDK v2
Open
#4 opened on Oct 9, 2025
enhancementhacktoberfest
Repository metrics
- Stars
- (8 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
The sample currently uses AWS CDK v1, which has reached end-of-life and is no longer actively maintained.
To ensure ongoing compatibility and improved maintainability, update the codebase to use AWS CDK v2. This includes:
- Refactoring all CDK constructs and dependencies to v2 syntax.
- Updating package dependencies in configuration files (such as
package.json). - Reviewing documentation and usage instructions to reflect CDK v2 changes.
- Testing the sample to verify functionality after the migration.
Please provide details of any breaking changes encountered and update relevant documentation if needed.