This repository is structured as follows:
This manages the CI of this repository, right now just updating our github page hosting documentation when merging a branch into main.
This contains the app created with CDK
This contains two sections:
-
helperswhich contains our logic for checkedrequired,defaultandallowedproperties on a construct -
Lambdaan example L2+ Lambda construct that we would use on a project to enforce best practices, in this directory there's a few interesting pieces to look at:config.tscontains all our configuration for our lambda construct, specifying what data is required, allowed, and defaulted to (e.g. look at the allowed runtime)error.tscontains all the warnings and errors that we throw (take a look at how the helper functionvalidateAllowedPropertiesworks). These are intended to be informative to the developer to explain best practices, not just prescribe them
This directory contains documentation for developers to read while coding and when they encounter errors. Its intent is to share knowledge more consistently across a team, helping empower less experienced developers to be more autonomous.
It follows the default structure created when you initialise a docusaurus page (we have removed the blog section), and all documentation is kept in the docs directory
The latest version of the documentation can be found here.
This contains a simple helloWorld lambda
Contains stacks, right now only having one stack with a single lambda in it (using our HelloWorld construct)