Connect your event bus to Rightsline event bus
- 1.
- 2.Open
Amazon EventBridge
from the Services dropdown or the Services search bar at the top of the page. - 3.On the sidebar menu, select
Event Buses
. - 4.Click
Create event bus
. - 5.Give your event bus a name.
- 6.In the
Resource-based policy
section, copy and paste the following:
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "allow_rightsline_to_put_events",
"Effect": "Allow",
"Principal": {
"AWS": "013474081760"
},
"Action": "events:PutEvents",
"Resource": "arn:aws:events:<REGION>:<ACCOUNT_ID>:event-bus/<EVENT_BUS_NAME>"
},
{
"Sid": "allow_account_to_manage_rules_they_created",
"Effect": "Allow",
"Principal": {
"AWS": "<ACCOUNT_ID>"
},
"Action": [
"events:PutRule",
"events:PutTargets",
"events:DeleteRule",
"events:RemoveTargets",
"events:DisableRule",
"events:EnableRule",
"events:TagResource",
"events:UntagResource",
"events:DescribeRule",
"events:ListTargetsByRule",
"events:ListTagsForResource"
],
"Resource": "arn:aws:events:<REGION>:<ACCOUNT_ID>:rule/<EVENT_BUS_NAME>",
"Condition": {
"StringEqualsIfExists": {
"events:creatorAccount": "<ACCOUNT_ID>"
}
}
}
]
}
7. Replace
<ACCOUNT_ID>
with your AWS account ID, <REGION>
with the region in which you are creating the event bus, and <EVENT_BUS_NAME>
with the name of the event bus. 8. Copy the event bus ARN and provide to your Rightsline representative.
Last modified 3mo ago