This is a example project for an AWS serverless API deployed with CDK and written in python.
It uses:
- lambdas for integration with http api gateway, see api and refs/api
- lambda layers to manage dependencies, see layers
- including AWS Powertools library as a micro-framework
- dynamodb for persistence, see refs/models
- dynamodb streams to generate api triggered change events, see refs/events
- cdk to deploy the infrastructure, see deploy
- standard mkdocs static docs generator, see docs
- mkdocstrings plugin to generate documentation from the source files.
You will need to have a .env file created in the root of this project to properly configure and deploy the stacks, see config for details on the variables exported and used.
You can use the included makefile to quickly setup the environment, test and deploy the environment, see deploy for instructions on setup and deployment and the makefile for details the make targets available.