jordaneremieff / mangum

AWS Lambda support for ASGI applications
https://mangum.io/
MIT License
1.67k stars 119 forks source link

VPC Lattice event support #319

Open michal-sa opened 6 months ago

michal-sa commented 6 months ago

VPC Lattice is a fairly new AWS Service (see, e.g.: https://aws.amazon.com/blogs/aws/introducing-vpc-lattice-simplify-networking-for-service-to-service-communication-preview/) for easier communication between VPC resources.

As a VPC Service will create a new type of event, it's not working if the Lattice Target Group targets (e.g. a lambda function) that are running mangum. For event structures see: https://docs.aws.amazon.com/lambda/latest/dg/services-vpc-lattice.html#vpc-lattice-receiving-events

Would it be possible to add support for these events in mangum as well?