When the Lambda Runtime API emulator is executed, a //functions/function/invocations endpoint will be stood up within the container that you post data to it in order to invoke your function for testing. You can get started by downloading and installing it on your local machine. This component does not emulate Lambda’s orchestrator, or security and authentication configurations. You can include the Lambda Runtime Interface Emulator in your container image to have it accept HTTP requests instead of the JSON events required for deployment to Lambda. It also simplifies running your application on additional computes. It allows you to locally test your functions using familiar tools such as cURL and the Docker CLI (when testing functions packaged as container images). It is a lightweight web-server that converts HTTP requests to JSON events and maintains functional parity with the Lambda Runtime API in the cloud. The Lambda Runtime Interface Emulator is a proxy for Lambda’s Runtime and Extensions APIs, which allows customers to locally test their Lambda function packaged as a container image.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |