💼 A starter kit for provisioning infrastructure on AWS. Built with AWS CDK + TypeScript.
Includes example implementation for the following:
- Launch Puppeteer in Lambda
- Navigate to web page
- Take screenshot
- Upload screenshot to S3
- Expose screenshots via API
Getting Started
Run the following commands to install dependencies, build the CDK stack, and deploy the CDK Stack to AWS.
yarn install
yarn build
cdk bootstrap
cdk deploy
yarn install
- installs dependenciesyarn build
- builds the production-ready CDK Stackyarn test
- runs Jestyarn prettify
- run prettier against the source filescdk bootstrap
- bootstraps AWS Cloudformation for your CDK deploycdk deploy
- deploys the CDK stack to AWS
Notes
- Includes very basic tests with Jest.
Built with
Additional Resources
License
Opens source under the MIT License.
Built with ❤️ by aeksco