4 ms·
My dream is to build something like this but in TypeScript, full stack. Using CDK for deployments, but also a really tight integration with higher order compone
by moltar 6y ago
My dream is to build something like this but in TypeScript, full stack. Using CDK for deployments, but also a really tight integration with higher order components. E.g. define a lambda handler and it automatically wires CDK code.
I guess kinda like serverless framework, but much less YAML and much more actual code.
- fwang 6y agoYeah, we often recommend using Serverless Framework and AWS CDK together. Serverless's strength is working with Lambda and API Gateway, but writing YAML for the rest of the resources is very cumbersome. So a good pattern here is to use CDK for the rest of your infrastructure, and Serverless for your Lambda functions. In fact, we created a tool to do exactly this - Serverless Stack Toolkit (SST), which allows you to combine CDK and Serverless Framework - https://github.com/serverless-stack/serverless-stack https://github.com/serverless-stack/serverless-stack So you can do `sls deploy --stage dev` and `sst deploy --stage dev`.