文档

alicloud_event_bridge_service_linked_role

更新时间:
一键部署

Using this data source can create Event Bridge service-linked roles(SLR). EventBridge may need to access another Alibaba Cloud service to implement a specific feature. In this case, EventBridge must assume a specific service-linked role, which is a Resource Access Management (RAM) role, to obtain permissions to access another Alibaba Cloud service.

For information about Event Bridge service-linked roles(SLR) and how to use it, see What is service-linked roles.

-> NOTE: Available in v1.129.0+. After the version 1.142.0, the resource is renamed as alicloud_event_bridge_service_linked_role.

Example Usage

resource "alicloud_event_bridge_service_linked_role" "service_linked_role" {
  product_name = "AliyunServiceRoleForEventBridgeSourceRocketMQ"
}

Argument Reference

The following arguments are supported:

  • product_name - (Required, ForceNew) The product name for SLR. EventBridge can automatically create the following service-linked roles: Event source related: AliyunServiceRoleForEventBridgeSendToMNS,AliyunServiceRoleForEventBridgeSourceRocketMQ, AliyunServiceRoleForEventBridgeSourceActionTrail, AliyunServiceRoleForEventBridgeSourceRabbitMQ Target related: AliyunServiceRoleForEventBridgeConnectVPC, AliyunServiceRoleForEventBridgeSendToFC, AliyunServiceRoleForEventBridgeSendToSMS, AliyunServiceRoleForEventBridgeSendToDirectMail, AliyunServiceRoleForEventBridgeSendToRabbitMQ, AliyunServiceRoleForEventBridgeSendToRocketMQ

Attributes Reference

  • id - The ID of the DataSource. The value is same as product_name.

Import

Event Bridge service-linked roles(SLR) can be imported using the id, e.g.

$ terraform import alicloud_event_bridge_service_linked_role.example <product_name>

  • 本页导读 (0)
文档反馈