I am trying to set a CodeCommit repository as a source for build project in AWS CDK.
So i am trying to do the following:
const codeCommitRepository = codecommit.Repository.fromRepositoryArn(this, "xxx", "arn:aws:codecommit:eu-central-1:xxxaccount:xxxService");
const source = Source.codeCommit({repository: codeCommitRepository})
I am getting an error:
TS2739: Type 'IRepository' is missing the following properties from type 'IRepository': notifiyOnPullRequestMerged, node
Apperently this is not the way to do it, but I can't find the proper way. Does anybody have any suggestions?