AWS Lambda Console now supports two new capabilities by integrating with AWS Application Composer, making it easy for developers to either build their serverless applications visually or through IaC (Infrastructure as Code). First, developers can now view and download the AWS Serverless Application Model (AWS SAM) template for their function as they configure it on the console. Second, at the click of a button, they can export their Lambda function to AWS Application Composer, retaining all the function configuration.
Source:: Amazon AWS