-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(eventbridge): setting resource option as an object #26092
Comments
@teitej , thanks for coming up with this feature request. Marking it as P2 as our team won't be immediately available to look into this. However if you would like to contribute, our team would be happy to review your PR. |
@teitej try using |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
I will try this later today |
|
Describe the feature
I am trying to pass a prefix in the resources section of my event rule but the typing is limited to
string[]
. I should be able to pass an object, like { "prefix": "arn:aws:ecr" }Use Case
To limit filtered resources to just a specific type, in this case, I want to set an event rule for all inspector2 findings from ECR, so the rule should look like:
With the current implementation, I am limited to
string[]
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.85.0
Environment details (OS name and version, etc.)
Mac OS
The text was updated successfully, but these errors were encountered: