文档

alicloud_event_bridge_event_bus

更新时间:
一键部署

Provides a Event Bridge Event Bus resource.

For information about Event Bridge Event Bus and how to use it, see What is Event Bus.

-> NOTE: Available since v1.129.0.

Example Usage

Basic Usage

variable "name" {
  default = "tf-example"
}
resource "alicloud_event_bridge_event_bus" "example" {
  event_bus_name = var.name
}

Argument Reference

The following arguments are supported:

  • description - (Optional) The description of event bus.
  • event_bus_name - (Required, ForceNew) The name of event bus. The length is limited to 2 ~ 127 characters, which can be composed of letters, numbers or hyphens (-)

Attributes Reference

The following attributes are exported:

  • id - The resource ID in terraform of Event Bus. Its value is same as event_bus_name.

Import

Event Bridge Event Bus can be imported using the id, e.g.

$ terraform import alicloud_event_bridge_event_bus.example <event_bus_name>

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