I know that there is an ability to create AWS Lambda functions on Java using Serverless framework. Basic configuration in serverless.yml usually looks something like:
service: aws-java-endpoint
frameworkVersion: ">=1.2.0 <2.0.0"
provider:
name: aws
runtime: java8
package:
artifact: build/distributions/aws-java-endpoint.zip
functions:
currentTime:
handler: com.serverless.Handler
events:
- http:
path: ping
method: get
But with coming of GraalVM and native-image compilation for Java I look for the ability to build AWS Lambda functions written on Java using GraalVM and deploy it with Serverless.
Does Serverless framework already support native Java images feature?