This is an example of an Agnostic Serverless Function in Java. An agnostic serverless function is a serverless function which has no direct dependency to any provider-specific FaaS framework.
Neither the code of this function, nor its configuration, contain instructions specific to any FaaS provider.
This function can be deployed to AWS Lambda, Azure Functions or Google Cloud Functions without editing the code or the configuration (other providers will be added in the future). Look at the deployment workflow for a complete example of a deployment.