You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and eventBus.grantPutEventsTo(fanout.consumerLambdaFunction);, I am still getting AccessDeniedException and the error message states that I am using the 'default' bus but I am accessing my own bus.
.....is not authorized to perform: events:PutEvents on resource: arn:aws:events:us-west-2:035996677488:event-bus/default because no identity-based policy allows the events:PutEvents action"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently I am trying to raise an event from
@aws-solutions-constructs/aws-lambda-sqs-lambda
:Here is a boilerplate of my approach infra.ts
I am getting the event bridge event bust from the bus name i.e.
const eventBus = events.EventBus.fromEventBusName(this, "Id", props.connectEventBusName);
I have added Rule and addTarget as well.
and
eventBus.grantPutEventsTo(fanout.consumerLambdaFunction);
, I am still getting AccessDeniedException and the error message states that I am using the 'default' bus but I am accessing my own bus......is not authorized to perform: events:PutEvents on resource: arn:aws:events:us-west-2:035996677488:event-bus/default because no identity-based policy allows the events:PutEvents action"
What am I doing wrong here ?
Beta Was this translation helpful? Give feedback.
All reactions