[aws-cdk-lib/pipelines] Support file path filters in trigger
Author: hangoocnCreated Sep 1, 2025Updated Sep 24, 2026
Labelsp2feature-requesteffort/medium@aws-cdk/triggersmixins
Describe the feature
The L2 construct aws-cdk-lib/aws-codepipeline support adding trigger and support file paths filter, but the L3 construct aws-cdk-lib/pipelines does not support it.
I wonder if we have a plan to add this support, and also want to know if there is a walkaround now to add path filter in L3 without changing it back to L2.
Use Case
I need to use file path filter for my monorepo/microfrontend project, so pipeline will be deployed only when a change happen in a particular folder.
Proposed Solution
Add a file path filter option in pipeline props.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS CDK Library version (aws-cdk-lib)
2.213.0
AWS CDK CLI version
2.1027.0
Environment details (OS name and version, etc.)
macos
Source: aws/aws-cdk