Amazon Adds AWS Lambda Code Editing Tool
Written by Kay Ewbank   
Monday, 04 November 2024

Amazon has added a new code editing option for AWS Lambda in the AWS console based on the Code-OSS, Visual Studio Code Open Source code editor.

Lambda is a compute service that runs your code in response to events and automatically manages the computing resources for you. AWS Lambda starts running code within milliseconds of an event such as an image upload, in-app activity, website click, or output from a connected device.

awslogo

You can also use it to create back-end services where resources such as an Amazon S3 bucket, DynamoDB table, or Kinesis stream are triggered based on custom requests to manage changes in application data.

Amazon says that integrating Code-OSS into the Lambda Console extends the in-browser code editing options with a familiar, accessible, and customizable interface, providing developers with a way to work that is substantially similar to working with function code locally. You can install selected extensions, apply preferred themes and settings, and use familiar keyboard shortcuts and coding preferences.

The Lambda Code Editor also displays larger function package sizes.  With Lambda, the total package size for ZIP-based functions, including code and libraries, cannot exceed 50 MB. Until now, developers were limited to 3MB for editing code in the console. This has now been upgraded so you can view function package sizes up to 50 MB in the console, though there is still a single file limit of 3 MB. The improvement means you can view function code even when you have larger dependencies.

The editor also has a better layout with a split-screen display meaning you can view function code, test events and outputs at the same time, and enables the display of environment variables for the function.

aws environment variables

Amazon points out that the Lambda console's Code-OSS integration complements, rather than fully replaces, local development workflows. You can view and edit function code that uses an interpreted language, but not compiled languages, making the integration the same as the previous Lambda console. The terminal window is also unavailable in Code-OSS.

The tool also integrates with Amazon Q Developer, Amazon's AI-powered coding assistant courtesy of deeper integration with the AWS Toolkit for VS Code extension. The AWS Lambda team says the integration means the Amazon Q Developer AI assistant integrates directly into the code editor, reducing the need to consult external documentation or tutorials. Amazon Q provides inline suggestions, as well as supporting keyboard shortcuts for common actions such as initiating Amazon Q or accepting a recommendation.

awslogo

More Information

Amazon Q Developer

AWS Lambda Service

Related Articles

Amazon Updates Q Family And Previews App Studio

AWS Lambda Upgraded To .NET8 Runtime

Amazon Previews Q, Its AI-Powered Assistant

Amazon Strengthens Lambda Offering

Amazon AWS Lambda

AWS Lambda For The Impatient Part 1

AWS Lambda For The Impatient Part 2

AWS Lambda For The Impatient Part 3

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


PHP 8.4 Adds Property Hooks
26/11/2024

PHP 8.4 is available with improvements including property hooks, asymmetric visibility, and an updated DOM API.



Hour Of Code 2024 Is About To Kick Off
04/12/2024

This year the event that aims to provide a coding experience for all school students and anyone else who wants to join in runs between December 9th and 15th and includes new activities. Let's find out [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info