Skip to content
Discussion options

You must be logged in to vote

@aurelien-leloup , this is acheivable through using eventSourceMapping but code commit repo is currently not supported. Please refer to this - https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html

However, you can still invoke your Lambda function from a CodeCommit event by creating an AWS CodePipeline and configuring it to trigger your Lambda function whenever a new commit is made to your CodeCommit repository. Sharing the reference for creating code commit repo using Pipelines in CDK.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by aurelien-leloup
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants