There is no type support for content based filtering unless I've missed some documentation (please provide a link if there is any!)
Reproduction Steps
The code snippet below shows a type error complaining about "resources" not being of type string[]

to work around this I did the following:

After building the stack and looking in AWS console, the expected event pattern was created and the events matched as expected, so updating the type is all that is needed.
Environment
- aws-cdk/events: 1.91.0
- typescript: 4.2.2
This is 🐛 Bug Report
There is no type support for content based filtering unless I've missed some documentation (please provide a link if there is any!)
Reproduction Steps
The code snippet below shows a type error complaining about "resources" not being of type
string[]to work around this I did the following:
After building the stack and looking in AWS console, the expected event pattern was created and the events matched as expected, so updating the type is all that is needed.
Environment
This is 🐛 Bug Report