alicloud_event_bridge_event_bus
更新時(shí)間:
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 asevent_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>
文檔內(nèi)容是否對(duì)您有幫助?