alicloud_message_service_topic

Provides a Message Notification Service Topic resource.

For information about Message Notification Service Topic and how to use it, see What is Topic.

Example Usage

Basic Usage

variable "name" {
  default = "tf-example"
}
resource "alicloud_message_service_topic" "default" {
  topic_name       = var.name
  max_message_size = 12357
  logging_enabled  = true
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

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

Import

Message Notification Service Topic can be imported using the id or topic_name, e.g.

$ terraform import alicloud_message_service_topic.example <topic_name>