Skip to content

Instantly share code, notes, and snippets.

@hemikak
Created February 21, 2020 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemikak/f5b81636e8ebe377d1573b587ab0c411 to your computer and use it in GitHub Desktop.
Save hemikak/f5b81636e8ebe377d1573b587ab0c411 to your computer and use it in GitHub Desktop.
"Hello World" AWS Lambda Function in Ballerina
import ballerinax/awslambda;
@awslambda:Function
public function sayHello(awslambda:Context ctx, json input) returns json|error {
return "Hello World!";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment