I have an AWS lambda that is triggered upon a message being added to an SQS queue. A DLQ also exists for any failed messages. For sake of example, the names are LambdaName1,QueueName1, QueueName1DLQ
The Lambda (LambdaName1) calls a downstream api service. I'm interested in temporarily suspending the lambda in order to allow messages to build on the SQS queue (QueueName1). At some later point in time, I would like to "reconnect" the queue to the lambda and allow processing to continue. At that point in time, the batch of messages on the queueName1 should all be processed.
How can I achieve the above using c# alone? Can I achieve this using c# alone?
If only I could use the AWS .NET SDK to perform the same actions that is performed in the aws lambda console below..
Here the concept of "Enabled" and "Disabled" emerges. Is this something controllable via cli, or sdk?
https://stackoverflow.com/questions/65798145/how-do-temporarily-disassociate-an-aws-sqs-queue-from-triggering-lambda-for-tran January 20, 2021 at 03:23AM
没有评论:
发表评论