Before you use EventBridge, you must activate the service on its product page. This topic describes how to activate EventBridge. If you are a RAM user, you must be granted permissions by an Alibaba Cloud account before you can use the EventBridge console or EventBridge API to access EventBridge resources and use the resources to route events by means of SDKs.
Prerequisites
Step 1: Activate EventBridge
Step 2: (Required for RAM users) Grant permissions to a RAM user
- Log on to the RAM console by using your Alibaba Cloud account.
- In the left-side navigation pane, choose .
- On the Users page, find the RAM user to which you want to attach the custom policy, and click Add Permissions in the Actions column.
- In the Add Permissions panel, grant permissions to the RAM user.
- Click OK.
- Click Complete.
EventBridge provides the following system policies. You can grant permissions to the RAM user based on the permission scope.
Policy | Description |
---|---|
AliyunEventBridgeFullAccess | The permissions to manage EventBridge. Such permissions are equivalent to the permissions that an Alibaba Cloud account has. A RAM user to which this policy is attached can publish events and use all the features of the EventBridge console. |
AliyunEventBridgeReadOnlyAccess | The read-only permissions on EventBridge. A RAM user to which this policy is attached can only read resource information in the EventBridge console or by calling API operations. |
AliyunEventBridgeResourceCreatePolicy | The permissions to create resources in EventBridge. A RAM user to which this policy is attached can create resources in the EventBridge console or by calling API operations. |
AliyunEventBridgeResourceUpdatePolicy | The permissions to edit resources in EventBridge. A RAM user to which this policy is attached can edit resources in the EventBridge console or by calling API operations. |
AliyunEventBridgeResourceDeletePolicy | The permissions to delete resources from EventBridge. A RAM user to which this policy is attached can delete resources in the EventBridge console or by calling API operations. |
AliyunEventBridgePutEventsPolicy | The permissions to publish events in EventBridge. A RAM user to which this policy is attached can publish events in the EventBridge console or by calling API operations. |
Note The system policies cover a broad range of permissions. For example, after you attach
the AliyunEventBridgeFullAccess policy that indicates full permissions to the RAM user, the RAM user can manage all
resources of EventBridge. EventBridge also provides custom policies that allow you to grant fine-grained permissions to
RAM users. For more information, see Custom policies.