A simple TypeScript CDK example that creates a Refactor Spaces:
- Environment
- Application
- Service
- Route
Refactor Spaces accelerates incrementally refactoring applications (strangler-fig) to microservices on AWS.
From the cdk
directory:
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template