The original proyect https://github.com/cdk-patterns/serverless/blob/main/the-eventbridge-etl/README.md. I basically rewrited the project using the CDK 2.0.
Make sure to have the Docker daemon running, because this project builds a Docker image and pushes it to ECR.
npm run build
cdk deployTo trigger the ETL pipeline, upload the example .csv in the data_example folder.
Every lambda writes logs to CloudWatch. The Observer lambda writes every event sent via Eventbridge to Cloudwatch too.
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template