alicloud_message_service_queue

Provides a Message Notification Service Queue resource.

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

Example Usage

Basic Usage

variable "name" {
  default = "tf-example"
}
resource "alicloud_message_service_queue" "queue" {
  queue_name               = var.name
  delay_seconds            = 60478
  maximum_message_size     = 12357
  message_retention_period = 256000
  visibility_timeout       = 30
  polling_wait_seconds     = 3
  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 Queue can be imported using the id or queue_name, e.g.

$ terraform import alicloud_message_service_queue.example <queue_name>