@@ -28,7 +28,7 @@ Building Lambda functions shouldn’t require boilerplate or ad-hoc validation.
2828- ** 🚀 Zero Boilerplate** – Auto-discover handlers based on directory, glob, or mapping modes
2929- ** ✅ Built-in Validation** – OpenAPI schema enforcement or Pydantic models with no extra glue code
3030- ** 🛡️ Declarative Requirements** – Decorators to plug in auth, before/after hooks, timeouts, and schema rules
31- - ** 🔄 Event Processing** – Consistent abstractions for DynamoDB Streams, SQS, S3, SNS, Kinesis, Firehose, MSK, MQ, and DocumentDB
31+ - ** 🔄 Event Processing** – Consistent abstractions for DynamoDB Streams, SQS, S3, SNS, Kinesis, Firehose, MSK, MQ, DocumentDB, and ALB
3232- ** 🧪 Easy Testing** – Lightweight objects make unittest/pytest straightforward
3333- ** ⚙️ IDE-Friendly** – Intuitive, type-friendly request/response objects for a better developer experience
3434
@@ -304,6 +304,17 @@ def docdb_handler(records):
304304 handle_docdb_change(record.operation, record.full_document)
305305```
306306
307+ ** Application Load Balancer (ALB)**
308+
309+ ``` python
310+ from acai_aws.alb.requirements import requirements as alb_requirements
311+
312+ @alb_requirements ()
313+ def alb_handler (records ):
314+ for record in records.records:
315+ handle_request(record.http_method, record.body, record.source_ip)
316+ ```
317+
307318Each record exposes intuitive properties like ` record.operation ` , ` record.body ` , or service-specific metadata (bucket, partition, headers, etc.).
308319
309320---
0 commit comments