If you're looking for a quick and painless entry into AWS serverless development with CDK, either of these two links is preferable to reading excerpts from this gist.
Article: https://www.industrialcuriosity.com//2020/06/a-templated-guide-to-aws-serverless.html
Source repository: https://github.com/therightstuff/aws-cdk-js-dev-guide