This application example creates 2 type of function in AWS Lambda - Producer and Consumer. And some EventBridge rules to route events to proper consumer.
The example shows ATM transaction event and routing based on location. It also does filtering such that only approved transaction are passed.
.
βββ consumer
βΒ Β βββ aws-lambda-tools-defaults.json
βΒ Β βββ Consumer.csproj
βΒ Β βββ Event.cs
βΒ Β βββ Function.cs
βΒ Β βββ Readme.md
βββ producer
βΒ Β βββ aws-lambda-tools-defaults.json
βΒ Β βββ Function.cs
βΒ Β βββ Producer.csproj
βΒ Β βββ Readme.md
βΒ Β βββ SampleEvents.cs
βββ LICENSE
βββ README.md
βββ template.yml
- AWS Account
- AWS CLI installed and configured to use AWS Account
- AWS SAM CLI
- .NET Core 3.1 or later
$ sam deploy --guided
Enter stack name, default region and allow SAM to create roles with required permissions