Fork me on GitHub
#holy-lambda
<
2023-08-27
>
λ00:08:10

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ójcik04:08:12

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

emccue21:08:27

another option

emccue21:08:57

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

emccue21:08:32

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

emccue21:08:48

implies that youu need to use aot but...

emccue21:08:00

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