AWS CodeCommit file change notification example by using AWS Lambda, Amazon SNS and CloudWatch Event
Once you change the Lambda function code, you can use the following command to create deployment package:
zip -r codecommit-sns-publisher.zip lambda_function.py
This sample code is made available under a modified MIT license. See the LICENSE file.