Change an AWS Lambda Function in Source Code - AWS CodeStar

On July 31, 2024, Amazon Web Services (AWS) will discontinue support for creating and viewing AWS CodeStar projects. After July 31, 2024, you will no longer be able to access the AWS CodeStar console or create new projects. However, the AWS resources created by AWS CodeStar, including your source repositories, pipelines, and builds, will be unaffected by this change and will continue to function. AWS CodeStar Connections and AWS CodeStar Notifications will not be impacted by this discontinuation.

 

If you wish to track work, develop code, and build, test, and deploy your applications, Amazon CodeCatalyst provides a streamlined getting started process and additional functionality to manage your software projects. Learn more about functionality and pricing of Amazon CodeCatalyst.

Change an AWS Lambda Function in Source Code

You can change the code or settings of a Lambda function, or its IAM role or API Gateway API, that AWS CodeStar creates in a project. To do this, we recommend that you use the AWS Serverless Application Model (AWS SAM) along with the template.yaml file in your project's CodeCommit repository. This template.yaml file defines your function's name, handler, runtime, IAM role, and API in API Gateway. For more information, see How to Create Serverless Applications Using AWS SAM on the GitHub website.