I looked at that at first, but read that it may not be ready for C++ usage yet:
https://docs.aws.amazon.com/lambda/latest/dg/java-image.html https://docs.aws.amazon.com/lambda/latest/dg/images-create.html
Repo for lambda java image: https://gallery.ecr.aws/lambda/java
https://delabassee.com/OpenCVJava/ (if you don't want to use something like this prebundled Maven dep)