Posted On: Jan 27, 2016
You can now invoke AWS Lambda functions in your software release pipelines modeled in AWS CodePipeline. This lets you specify actions in your pipeline’s stages that can trigger custom functions defined by your code, allowing you to customize your software release pipeline.
CodePipeline is a continuous delivery service that builds, tests, and deploys your code every time there is a code change, based on the release process models you define. Lambda lets you run code without provisioning or managing servers. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability.
You can add actions in CodePipeline to trigger Lambda to run your code, such as testing whether a web site deployed successfully. For example, you have a pipeline that builds and deploys your web application whenever there is a change in the application source code. You can add a Lambda action that runs after your pipeline’s deploy stage that sends a HTTP request to test whether your application was successfully deployed. You create the Lambda action by just uploading the code that sends the HTTP request.