Skip to content

Support SQS event sources in Amazon.Lambda.AspNetCoreServer.Hosting #2338

Description

@irunjic

Describe the feature

Amazon.Lambda.AspNetCoreServer.Hosting currently supports HTTP event sources, but not SQS.

Could support for SQS be added, either as a new LambdaEventSource value or via a custom event source adapter/extensibility model?

Use Case

We have an ASP.NET Core Lambda application that exposes HTTP endpoints and also needs to process SQS workflow messages.

The only reason we currently route SQS messages through an HTTP hop (with EventBridge pipe) is to stay within the Amazon.Lambda.AspNetCoreServer.Hosting model. Direct SQS handling would be cleaner and avoid transport-specific limitations.

Proposed Solution

Something along these lines would be useful:

builder.Services.AddAWSLambdaHosting(LambdaEventSource.HttpApi);
builder.Services.AddAWSLambdaHosting(LambdaEventSource.Sqs);

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to close soon in 7 days.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions