What I am trying to do is send an event from a different AWS account to my account which contains the eventbus.
For that I am trying to attach a role/policy to EventBus but I am not able to. I tried to use grantPutEvents but no luck there too. How to do this? (add/attach a Policy)
Also if I attach policy with Principal as account ID of the other AWS account and resource as the ARN of the EventBus, Will this allow me to send events ? Or do I need to do something more?
defaultBus.grantPutEventsTo
. Weird but thanks 👍🏽 – Wavelet