Hello World in AWS Lambda
-
Press "Create function"
-
Name: "hello"
-
Runtime: Python 3.6
-
Role: Create new role from template(s)
-
Role name: "myrole"
-
Policy templates: Basic Edge Lambda Permission
-
Press "Create function"
The default code will look like this:
def lambda_handler(event, context):
# TODO implement
return 'Hello World!'
- Test it (click on "Test")
- First it will make you create a new test-case.