Tuesday, September 29, 2020

Getting Started with Lambda functions

 



  1. Go the the search box in the AWS console and search for Lambda.
  2. Click create function on the right.
  3. Leave it as author from scratch.
    1. Input a name for your new function. No spaces allowed
      1. Its a good idea to have a project_subProject type name to help you find them faster
    2. For the Run time pick Python 3.8
  4. Click "Create Function"
    1. This will make the new basic Lambda function.
    2. This will also make a new role for you Lambda function.
  5. Click deploy and test.
  6. It will ask you about the parameters. These are helpful for setting up input parameters into your function and testing with them. They are un needed for this so add a name and click next.
  7. Click deploy and test again.
  8. Now it will output the results of the hello world.
  9. Now your up and running with Lambda functions.

Do make sure your responding with the same format as the template that it is using. If you do not you will get no response or it will be marked as failing when it succeeded. For a simple example like this it does not matter much but as you progress it will matter.

Getting Started with Lambda functions

  Go the the search box in the AWS console and search for Lambda. Click create function on the right. Leave it as author from scratch. Input...