Posted On: Feb 19, 2020
You can now develop AWS Lambda functions using Ruby 2.7. This is the latest release of Ruby and supports new features like pattern matching, argument forwarding and numbered arguments. Lambda functions written in Ruby 2.7 run on Amazon Linux 2, the latest generation of Amazon Linux. To learn more about the Ruby programming model and how to create AWS Lambda functions in Ruby 2.7, please click here.
To get started, provide your code through the AWS Lambda console or CLI and select the Ruby 2.7 runtime. AWS Serverless Application Model (SAM) and AWS CloudFormation can also be used for deploying and managing your serverless applications authored in Ruby 2.7. To migrate existing AWS Lambda functions running in Ruby 2.5 to Ruby 2.7, update your code to be compatible with Ruby 2.7 and Amazon Linux 2, and edit the function to change the configured runtime to Ruby 2.7.