Invoking Lambda functions with Lambda function URL

Previously, to invoke a Lambda function, you:

  • open the Lambda function page (in the AWS management console) and invoke the Lambda function by clicking Test button.

    (This will use the AWS credential of the AWS account the you’ve logged in).

    alt text

  • or use the AWS CLI and the function ARN to invoke the Lambda function.

    (This will use the AWS credential that you’ve configured with AWS CLI).

    alt text


In previous step, we have created 5 functions URL, now we will invoke the function using a browser or any HTTP client (e.g. curl)

The architecture now looks like this

alt text

Content

  1. Invoking create-user function
  2. Invoking list-user function
  3. Invoking get-user function
  4. Invoking update-user function
  5. Invoking delete-user function
  6. Function URL and HTTP methods