AWS Lambda is a service offered by Amazon Web Services that offers a serverless computing platform for creating event-driven pieces of code. Lambda automatically manages any computing resources required for the code, so there is no configuration or development environment required by the end-user.
In this guide, we’ll use Lambda for creating a PutObject function using NodeJS. This can be modified for a variety of different API requests, such as GetObject and CreateBucket, and can be used with different SDKs and Runtimes. For a list of supported SDKs and associated API request examples, check out our SDK documentation here.
Read below to learn how to configure AWS Lambda functions for NodeJS use with Filebase.
2. Search ‘Lambda’ in the search bar, then select the Lambda service.
3. Select ‘Create function’ from the left.
4. From the Create function menu, select ‘Author from scratch’, provide your function with a name, and select the Nodejs 16.x runtime. Then select ‘Create Function’.