I have a monorepo containing several sub-projects (microservices) stored on GitHub. I am trying to build it using the combination of AWS CodePipeline and CodeBuild. I would like to start pipelines depending on what sub-project has been changed. For example, if a file in a service-1 folder is changed I want to run a service-1 pipeline, and I don't want to run build for service-2 or service-3.
In Google Cloud Build, there is a possibility to specify "included files" and "ignored files". I am trying to find exactly the same thing in AWS.
Quastion: How to specify files/folders changes to which would trigger a CodePipleine build?