holy-lambda

λ 2023-08-27T00:47:10.526109Z

I would like some advice on creating AWS lambda functions using Clojure. I am new to Clojure and only learned some of the language from reading books. So it was a bit complicated when I looked this up and started reading about native backends, Babashka backends, etc. Ideally, I would like to use the core language features entirely to create a basic hello world AWS lambda function.

Karol Wójcik 2023-08-27T04:44:12.214129Z

Hey, you can start with a simpler setup like https://github.com/igrishaev/lambda

emccue 2023-08-31T21:17:23.902629Z

https://github.com/FieryCod/holy-lambda

emccue 2023-08-31T21:17:27.325949Z

another option

emccue 2023-08-31T21:17:57.614489Z

but if you want to do it without any libraries - you need to use gen-class

emccue 2023-08-31T21:18:32.001199Z

import the aws lambda libraries, use gen-class to make a class which implements that interface, and delegate to your clojure functions

emccue 2023-08-31T21:18:48.061429Z

implies that youu need to use aot but...

emccue 2023-08-31T21:19:00.041969Z

and i just realized im 5 days late and also misread you