alicloud_event_bridge_service_linked_role

更新时间:

Provides a Event Bridge Service Linked Role resource.

For information about Event Bridge Service Linked Role and how to use it, see What is Service Linked Role.

-> NOTE: Available since v1.129.0.

-> NOTE: From version 1.142.0, the resource is renamed as alicloud_event_bridge_service_linked_role.

Example Usage

Basic Usage


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

Argument Reference

The following arguments are supported:

  • product_name - (Required, ForceNew) The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see How to use it.

Attributes Reference

  • id - The resource ID in terraform of Service Linked Role.

Timeouts

-> NOTE: Available since v1.252.0.

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 1 mins) Used when create the Service Linked Role.
  • delete - (Defaults to 1 mins) Used when delete the Service Linked Role.

Import

Event Bridge Service Linked Role can be imported using the id, e.g.

$ terraform import alicloud_event_bridge_service_linked_role.example <product_name>