- Newest
- Most votes
- Most comments
Arn should look like this:
arn:aws:events:us-east-1:<target-account-id>:event-bus/my-event-bus-name
Or you use "*" just as an example of not showing account id?
Additionally, when you're sending a custom event from a Step Functions state machine in one account to an EventBridge event bus in another account, make sure that you have the necessary permissions set up. The account sending the event should have permissions to put events to the target event bus in the other account. Similarly, the target event bus should be configured to allow events from the sender account. This involves setting up cross-account IAM roles and policies to allow the necessary actions.
Step Functions does not support sending events to an event bus in a different region. You will either need to invoke a Lambda function in us-east-1 that will send the event to the event bus in eu-west-1, or, probably the better solution, send the event to an event bus in us-east-1, which has a rule to forward the events to an event bus in eu-west-1.
Hi, you need a bit of additional setup to send event across regions: see this blog post https://aws.amazon.com/blogs/compute/introducing-cross-region-event-routing-with-amazon-eventbridge/
It will provide you with the precise setup that you need to do to route events to another region.
Best
Didier
Relevant content
- asked a year ago
- Accepted Answerasked 10 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 7 months ago