All Products
Search
Document Center

EventBridge

Last Updated: Sep 30, 2021

Resource Access Management (RAM) users or RAM roles must be granted permissions before they can access cloud resources. RAM uses policies to define permissions. A cloud service defines elements that can be used in a policy statement, such as Action, Resource, and Condition. This topic describes the permissions on EventBridge.

The code (RamCode) in RAM that is used to indicate EventBridge is eventbridge. You can grant permissions on EventBridge at the resource level.

Action

The following table describes the values that you can use in the Action element of a policy statement. The values are defined by EventBridge. The following list describes the columns in the table:

  • Action: the value that you can use in the Action element to specify the operation on a resource.

  • API: the API operation that you can call to perform the action. In most cases, only one API operation of a cloud service is required to perform an action. In some cases, multiple API operations must be called to perform an action, or an API operation can be called to perform multiple actions.

  • Access level: the access level of each action. The levels are read, write, and list.

  • Resource type: the type of the resource on which you can authorize a RAM user or a RAM role to perform the operation. Take note of the following items:

    • The required resource types are displayed in bold characters.

    • If the permissions cannot be granted at the resource level, All resources is used in the Resource type column of the action.

  • Condition key: the condition keys that are defined by a cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Policy elements.

  • Dependent action: other actions that a RAM user or a RAM role must have permissions to perform the action. To successfully call the action, a RAM user or a RAM role must have the permissions to perform the dependent action.

Actions

APIs

Access level

Resource types

Condition keys

Dependent actions

eventbridge:CreateEventBus

CreateEventBus

Write


EventBus


acs:eventbridge:{#regionId}:{#accountId}:eventbus/*


N/A

N/A

eventbridge:CreateRule

CreateRule

Write


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/*


N/A

N/A

eventbridge:DeleteEventBus

DeleteEventBus

Write


EventBus


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}


N/A

N/A

eventbridge:DeleteRule

DeleteRule

Write


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

eventbridge:DeleteTargets

DeleteTargets

Write


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

eventbridge:DisableRule

DisableRule

Write


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

eventbridge:EnableRule

EnableRule

Write


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

eventbridge:GetEventBus

GetEventBus

Read


EventBus


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}


N/A

N/A

eventbridge:GetRule

GetRule

Read


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

eventbridge:ListEventBuses

ListEventBuses

List


EventBus


acs:eventbridge:{#regionId}:{#accountId}:eventbus/*


N/A

N/A

eventbridge:ListRules

ListRules

List


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/*


N/A

N/A

eventbridge:ListTargets

ListTargets

List


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

eventbridge:PutEvents

PutEvents

Write


EventBus


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}


N/A

N/A

eventbridge:UpdateRule

UpdateRule

Write


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

eventbridge:UpdateTargets

UpdateTargets

Write


Rule


acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbusId}/rule/{#ruleId}


N/A

N/A

Resource

The following table describes the values that you can use in the Resource element of a policy statement. The values are defined by EventBridge.

The Alibaba Cloud Resource Name (ARN) is the unique identifier of the resource on Alibaba Cloud. Take note of the following items:

  • {#} indicates a variable. {#} must be replaced with an actual value. For example, {#regionId} must be replaced with the actual ID of the region where your resource resides.

  • An asterisk (*) is used as a wildcard. Examples:

    • If you specify {#resourceType}/*, all resources are specified.

    • If {#regionId} is set to *, all regions are specified.

    • If {#accountId} is set to *, all Alibaba Cloud accounts are specified.

Resource type

ARN

EventBus

acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}

Rule

acs:eventbridge:{#regionId}:{#accountId}:rule/{#EventBusName}/{#RuleName}

Condition

EventBridge does not define service-specific condition keys. For more information about common condition keys that are defined by Alibaba Cloud, see Policy elements.