Skip to content

Instantly share code, notes, and snippets.

@hemikak
Created February 21, 2020 03:56
Show Gist options
  • Save hemikak/255c642b22c30cade79a878f5208bc50 to your computer and use it in GitHub Desktop.
Save hemikak/255c642b22c30cade79a878f5208bc50 to your computer and use it in GitHub Desktop.
"Hello World" AWS SAM Specification
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Description: AWS Lambda Hello World Ballerina
Globals:
Function:
Timeout: 10
Resources:
HelloWorldFunction:
Type: AWS::Serverless::Function
Properties:
Runtime: provided
CodeUri: aws-ballerina-lambda-functions.zip
Handler: hello_world.sayHello
Layers:
- arn:aws:lambda:us-east-1:141896495686:layer:ballerina:2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment