Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: add keyPattern option for addSourceBucket method #653

Open
naeemcloudguru opened this issue Nov 7, 2022 · 1 comment
Open

Comments

@naeemcloudguru
Copy link

naeemcloudguru commented Nov 7, 2022

This feature would allow the user to pass an optional key pattern to this method as a second argument so that in the case that the user is using a "global" bucket (bucket used by others but has a target object within the bucket), the user can specify the pattern to the target and give permissions to only update objects on trigger that are in that target. If there was no pattern passed, then the original '*' would be used for the keyPattern.

@dontirun
Copy link
Contributor

dontirun commented Nov 7, 2022

I think scanPrefix would be a better name for this. Happy to take a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants