https://github.com/navneetlal/aws-eventbridge-dotnet
Simple example of producing and consuming events using AWS EventBridge in .NET Core
https://github.com/navneetlal/aws-eventbridge-dotnet
aws aws-eventbridge aws-lambda aws-lambda-csharp aws-sam csharp dotnet dotnet-core3-1 dotnetcore events lambda
Last synced: 11 months ago
JSON representation
Simple example of producing and consuming events using AWS EventBridge in .NET Core
- Host: GitHub
- URL: https://github.com/navneetlal/aws-eventbridge-dotnet
- Owner: navneetlal
- License: mit
- Created: 2020-06-22T07:37:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:46:20.000Z (over 3 years ago)
- Last Synced: 2025-05-14T16:22:18.462Z (about 1 year ago)
- Topics: aws, aws-eventbridge, aws-lambda, aws-lambda-csharp, aws-sam, csharp, dotnet, dotnet-core3-1, dotnetcore, events, lambda
- Language: C#
- Homepage:
- Size: 9.77 KB
- Stars: 18
- Watchers: 2
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Amazon EventBridge - Producer/Consumer Example (.NET Core)
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.
```bash
.
├── 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
```
## Requirements
- AWS Account
- AWS CLI installed and configured to use AWS Account
- AWS SAM CLI
- [.NET Core 3.1 or later](https://dotnet.microsoft.com/download)
## Instruction
```bash
$ sam deploy --guided
```
Enter stack name, default region and allow SAM to create roles with required permissions