asp.net core web api Lambda Triggered by SQS

0

For .net core console lambda function, there is a way to trigger it when message sent. but is there any ways to trigger asp.net core web api (for lambda function) when aws sqs send to a message to channel

1 Answer
0
Accepted Answer

SQS Messages are processed can be used in one of 2 ways.

  • A running process that is Polling the Queue for messages
  • A Lambda that is triggered when there are messages to process.

If you want to all an API call when a message arrives. You likely need a small lambda that will call the Web API directly converting the SQS message in the queue to the format you need for the API call.

There is an awesome free course provided by AWS on .NET Lambdas that really covers all the details. It's the one with Lambda's on this page: https://aws.amazon.com/developer/language/net/badges-and-training/

profile picture
answered a year ago
profile picture
EXPERT
reviewed 2 months ago
  • Thanks! you solved my confused!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions