This repository contains the source code for the IoT solution described in my blog post "Push the Green Button: Creating Event Gadgets with IoT and Serverless Architecture". The solution utilizes an IoT button, AWS Lambda, and an IoT-connected printer to create an interactive and sustainable giveaway for events.
To use the code in this repository, you should follow these steps:
- Clone the repository to your local machine.
- Replace the variables in
config.yaml
with your own values. - Use it as a normal AWS CDK project (refer to the AWS CDK documentation for more information).
Please refer to the blog post for a detailed walkthrough of the entire process.