Provides a RabbitMQ (AMQP) Queue resource.
For information about RabbitMQ (AMQP) Queue and how to use it, see What is Queue.
NOTE: Available since v1.127.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const defaultInstance = new alicloud.amqp.Instance("default", {
instanceName: `${name}-${_default.result}`,
instanceType: "enterprise",
maxTps: "3000",
maxConnections: 2000,
queueCapacity: "200",
paymentType: "Subscription",
renewalStatus: "AutoRenewal",
renewalDuration: 1,
renewalDurationUnit: "Year",
supportEip: true,
});
const defaultVirtualHost = new alicloud.amqp.VirtualHost("default", {
instanceId: defaultInstance.id,
virtualHostName: `${name}-${_default.result}`,
});
const defaultQueue = new alicloud.amqp.Queue("default", {
instanceId: defaultInstance.id,
virtualHostName: defaultVirtualHost.virtualHostName,
queueName: `${name}-${_default.result}`,
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = random.index.Integer("default",
min=10000,
max=99999)
default_instance = alicloud.amqp.Instance("default",
instance_name=f"{name}-{default['result']}",
instance_type="enterprise",
max_tps="3000",
max_connections=2000,
queue_capacity="200",
payment_type="Subscription",
renewal_status="AutoRenewal",
renewal_duration=1,
renewal_duration_unit="Year",
support_eip=True)
default_virtual_host = alicloud.amqp.VirtualHost("default",
instance_id=default_instance.id,
virtual_host_name=f"{name}-{default['result']}")
default_queue = alicloud.amqp.Queue("default",
instance_id=default_instance.id,
virtual_host_name=default_virtual_host.virtual_host_name,
queue_name=f"{name}-{default['result']}")
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/amqp"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
defaultInstance, err := amqp.NewInstance(ctx, "default", &amqp.InstanceArgs{
InstanceName: pulumi.Sprintf("%v-%v", name, _default.Result),
InstanceType: pulumi.String("enterprise"),
MaxTps: pulumi.String("3000"),
MaxConnections: pulumi.Int(2000),
QueueCapacity: pulumi.String("200"),
PaymentType: pulumi.String("Subscription"),
RenewalStatus: pulumi.String("AutoRenewal"),
RenewalDuration: pulumi.Int(1),
RenewalDurationUnit: pulumi.String("Year"),
SupportEip: pulumi.Bool(true),
})
if err != nil {
return err
}
defaultVirtualHost, err := amqp.NewVirtualHost(ctx, "default", &amqp.VirtualHostArgs{
InstanceId: defaultInstance.ID(),
VirtualHostName: pulumi.Sprintf("%v-%v", name, _default.Result),
})
if err != nil {
return err
}
_, err = amqp.NewQueue(ctx, "default", &amqp.QueueArgs{
InstanceId: defaultInstance.ID(),
VirtualHostName: defaultVirtualHost.VirtualHostName,
QueueName: pulumi.Sprintf("%v-%v", name, _default.Result),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var defaultInstance = new AliCloud.Amqp.Instance("default", new()
{
InstanceName = $"{name}-{@default.Result}",
InstanceType = "enterprise",
MaxTps = "3000",
MaxConnections = 2000,
QueueCapacity = "200",
PaymentType = "Subscription",
RenewalStatus = "AutoRenewal",
RenewalDuration = 1,
RenewalDurationUnit = "Year",
SupportEip = true,
});
var defaultVirtualHost = new AliCloud.Amqp.VirtualHost("default", new()
{
InstanceId = defaultInstance.Id,
VirtualHostName = $"{name}-{@default.Result}",
});
var defaultQueue = new AliCloud.Amqp.Queue("default", new()
{
InstanceId = defaultInstance.Id,
VirtualHostName = defaultVirtualHost.VirtualHostName,
QueueName = $"{name}-{@default.Result}",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.Integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.amqp.Instance;
import com.pulumi.alicloud.amqp.InstanceArgs;
import com.pulumi.alicloud.amqp.VirtualHost;
import com.pulumi.alicloud.amqp.VirtualHostArgs;
import com.pulumi.alicloud.amqp.Queue;
import com.pulumi.alicloud.amqp.QueueArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new Integer("default", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()
.instanceName(String.format("%s-%s", name,default_.result()))
.instanceType("enterprise")
.maxTps("3000")
.maxConnections(2000)
.queueCapacity("200")
.paymentType("Subscription")
.renewalStatus("AutoRenewal")
.renewalDuration(1)
.renewalDurationUnit("Year")
.supportEip(true)
.build());
var defaultVirtualHost = new VirtualHost("defaultVirtualHost", VirtualHostArgs.builder()
.instanceId(defaultInstance.id())
.virtualHostName(String.format("%s-%s", name,default_.result()))
.build());
var defaultQueue = new Queue("defaultQueue", QueueArgs.builder()
.instanceId(defaultInstance.id())
.virtualHostName(defaultVirtualHost.virtualHostName())
.queueName(String.format("%s-%s", name,default_.result()))
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: random:Integer
properties:
min: 10000
max: 99999
defaultInstance:
type: alicloud:amqp:Instance
name: default
properties:
instanceName: ${name}-${default.result}
instanceType: enterprise
maxTps: 3000
maxConnections: 2000
queueCapacity: 200
paymentType: Subscription
renewalStatus: AutoRenewal
renewalDuration: 1
renewalDurationUnit: Year
supportEip: true
defaultVirtualHost:
type: alicloud:amqp:VirtualHost
name: default
properties:
instanceId: ${defaultInstance.id}
virtualHostName: ${name}-${default.result}
defaultQueue:
type: alicloud:amqp:Queue
name: default
properties:
instanceId: ${defaultInstance.id}
virtualHostName: ${defaultVirtualHost.virtualHostName}
queueName: ${name}-${default.result}
📚 Need more examples? VIEW MORE EXAMPLES
Create Queue Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Queue(name: string, args: QueueArgs, opts?: CustomResourceOptions);@overload
def Queue(resource_name: str,
args: QueueArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Queue(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
queue_name: Optional[str] = None,
virtual_host_name: Optional[str] = None,
auto_delete_state: Optional[bool] = None,
auto_expire_state: Optional[str] = None,
dead_letter_exchange: Optional[str] = None,
dead_letter_routing_key: Optional[str] = None,
max_length: Optional[str] = None,
maximum_priority: Optional[int] = None,
message_ttl: Optional[str] = None)func NewQueue(ctx *Context, name string, args QueueArgs, opts ...ResourceOption) (*Queue, error)public Queue(string name, QueueArgs args, CustomResourceOptions? opts = null)type: alicloud:amqp:Queue
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args QueueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args QueueArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args QueueArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QueueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QueueArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var queueResource = new AliCloud.Amqp.Queue("queueResource", new()
{
InstanceId = "string",
QueueName = "string",
VirtualHostName = "string",
AutoDeleteState = false,
AutoExpireState = "string",
DeadLetterExchange = "string",
DeadLetterRoutingKey = "string",
MaxLength = "string",
MaximumPriority = 0,
MessageTtl = "string",
});
example, err := amqp.NewQueue(ctx, "queueResource", &amqp.QueueArgs{
InstanceId: pulumi.String("string"),
QueueName: pulumi.String("string"),
VirtualHostName: pulumi.String("string"),
AutoDeleteState: pulumi.Bool(false),
AutoExpireState: pulumi.String("string"),
DeadLetterExchange: pulumi.String("string"),
DeadLetterRoutingKey: pulumi.String("string"),
MaxLength: pulumi.String("string"),
MaximumPriority: pulumi.Int(0),
MessageTtl: pulumi.String("string"),
})
var queueResource = new com.pulumi.alicloud.amqp.Queue("queueResource", com.pulumi.alicloud.amqp.QueueArgs.builder()
.instanceId("string")
.queueName("string")
.virtualHostName("string")
.autoDeleteState(false)
.autoExpireState("string")
.deadLetterExchange("string")
.deadLetterRoutingKey("string")
.maxLength("string")
.maximumPriority(0)
.messageTtl("string")
.build());
queue_resource = alicloud.amqp.Queue("queueResource",
instance_id="string",
queue_name="string",
virtual_host_name="string",
auto_delete_state=False,
auto_expire_state="string",
dead_letter_exchange="string",
dead_letter_routing_key="string",
max_length="string",
maximum_priority=0,
message_ttl="string")
const queueResource = new alicloud.amqp.Queue("queueResource", {
instanceId: "string",
queueName: "string",
virtualHostName: "string",
autoDeleteState: false,
autoExpireState: "string",
deadLetterExchange: "string",
deadLetterRoutingKey: "string",
maxLength: "string",
maximumPriority: 0,
messageTtl: "string",
});
type: alicloud:amqp:Queue
properties:
autoDeleteState: false
autoExpireState: string
deadLetterExchange: string
deadLetterRoutingKey: string
instanceId: string
maxLength: string
maximumPriority: 0
messageTtl: string
queueName: string
virtualHostName: string
Queue Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Queue resource accepts the following input properties:
- Instance
Id string - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- Queue
Name string - The name of the queue to create.
- Virtual
Host stringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- Auto
Delete boolState - Specifies whether to automatically delete the queue. Valid values:
- Auto
Expire stringState - The auto-expiration time for the queue.
- Dead
Letter stringExchange - The dead-letter exchange.
- Dead
Letter stringRouting Key - The dead-letter routing key.
- Max
Length string - The maximum number of messages that can be stored in the queue.
- Maximum
Priority int - The priority of the queue.
- Message
Ttl string - The time to live (TTL) of a message in the queue.
- Instance
Id string - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- Queue
Name string - The name of the queue to create.
- Virtual
Host stringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- Auto
Delete boolState - Specifies whether to automatically delete the queue. Valid values:
- Auto
Expire stringState - The auto-expiration time for the queue.
- Dead
Letter stringExchange - The dead-letter exchange.
- Dead
Letter stringRouting Key - The dead-letter routing key.
- Max
Length string - The maximum number of messages that can be stored in the queue.
- Maximum
Priority int - The priority of the queue.
- Message
Ttl string - The time to live (TTL) of a message in the queue.
- instance
Id String - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- queue
Name String - The name of the queue to create.
- virtual
Host StringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto
Delete BooleanState - Specifies whether to automatically delete the queue. Valid values:
- auto
Expire StringState - The auto-expiration time for the queue.
- dead
Letter StringExchange - The dead-letter exchange.
- dead
Letter StringRouting Key - The dead-letter routing key.
- max
Length String - The maximum number of messages that can be stored in the queue.
- maximum
Priority Integer - The priority of the queue.
- message
Ttl String - The time to live (TTL) of a message in the queue.
- instance
Id string - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- queue
Name string - The name of the queue to create.
- virtual
Host stringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto
Delete booleanState - Specifies whether to automatically delete the queue. Valid values:
- auto
Expire stringState - The auto-expiration time for the queue.
- dead
Letter stringExchange - The dead-letter exchange.
- dead
Letter stringRouting Key - The dead-letter routing key.
- max
Length string - The maximum number of messages that can be stored in the queue.
- maximum
Priority number - The priority of the queue.
- message
Ttl string - The time to live (TTL) of a message in the queue.
- instance_
id str - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- queue_
name str - The name of the queue to create.
- virtual_
host_ strname - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto_
delete_ boolstate - Specifies whether to automatically delete the queue. Valid values:
- auto_
expire_ strstate - The auto-expiration time for the queue.
- dead_
letter_ strexchange - The dead-letter exchange.
- dead_
letter_ strrouting_ key - The dead-letter routing key.
- max_
length str - The maximum number of messages that can be stored in the queue.
- maximum_
priority int - The priority of the queue.
- message_
ttl str - The time to live (TTL) of a message in the queue.
- instance
Id String - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- queue
Name String - The name of the queue to create.
- virtual
Host StringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto
Delete BooleanState - Specifies whether to automatically delete the queue. Valid values:
- auto
Expire StringState - The auto-expiration time for the queue.
- dead
Letter StringExchange - The dead-letter exchange.
- dead
Letter StringRouting Key - The dead-letter routing key.
- max
Length String - The maximum number of messages that can be stored in the queue.
- maximum
Priority Number - The priority of the queue.
- message
Ttl String - The time to live (TTL) of a message in the queue.
Outputs
All input properties are implicitly available as output properties. Additionally, the Queue resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Queue Resource
Get an existing Queue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: QueueState, opts?: CustomResourceOptions): Queue@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_delete_state: Optional[bool] = None,
auto_expire_state: Optional[str] = None,
dead_letter_exchange: Optional[str] = None,
dead_letter_routing_key: Optional[str] = None,
instance_id: Optional[str] = None,
max_length: Optional[str] = None,
maximum_priority: Optional[int] = None,
message_ttl: Optional[str] = None,
queue_name: Optional[str] = None,
virtual_host_name: Optional[str] = None) -> Queuefunc GetQueue(ctx *Context, name string, id IDInput, state *QueueState, opts ...ResourceOption) (*Queue, error)public static Queue Get(string name, Input<string> id, QueueState? state, CustomResourceOptions? opts = null)public static Queue get(String name, Output<String> id, QueueState state, CustomResourceOptions options)resources: _: type: alicloud:amqp:Queue get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Delete boolState - Specifies whether to automatically delete the queue. Valid values:
- Auto
Expire stringState - The auto-expiration time for the queue.
- Dead
Letter stringExchange - The dead-letter exchange.
- Dead
Letter stringRouting Key - The dead-letter routing key.
- Instance
Id string - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- Max
Length string - The maximum number of messages that can be stored in the queue.
- Maximum
Priority int - The priority of the queue.
- Message
Ttl string - The time to live (TTL) of a message in the queue.
- Queue
Name string - The name of the queue to create.
- Virtual
Host stringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- Auto
Delete boolState - Specifies whether to automatically delete the queue. Valid values:
- Auto
Expire stringState - The auto-expiration time for the queue.
- Dead
Letter stringExchange - The dead-letter exchange.
- Dead
Letter stringRouting Key - The dead-letter routing key.
- Instance
Id string - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- Max
Length string - The maximum number of messages that can be stored in the queue.
- Maximum
Priority int - The priority of the queue.
- Message
Ttl string - The time to live (TTL) of a message in the queue.
- Queue
Name string - The name of the queue to create.
- Virtual
Host stringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto
Delete BooleanState - Specifies whether to automatically delete the queue. Valid values:
- auto
Expire StringState - The auto-expiration time for the queue.
- dead
Letter StringExchange - The dead-letter exchange.
- dead
Letter StringRouting Key - The dead-letter routing key.
- instance
Id String - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- max
Length String - The maximum number of messages that can be stored in the queue.
- maximum
Priority Integer - The priority of the queue.
- message
Ttl String - The time to live (TTL) of a message in the queue.
- queue
Name String - The name of the queue to create.
- virtual
Host StringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto
Delete booleanState - Specifies whether to automatically delete the queue. Valid values:
- auto
Expire stringState - The auto-expiration time for the queue.
- dead
Letter stringExchange - The dead-letter exchange.
- dead
Letter stringRouting Key - The dead-letter routing key.
- instance
Id string - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- max
Length string - The maximum number of messages that can be stored in the queue.
- maximum
Priority number - The priority of the queue.
- message
Ttl string - The time to live (TTL) of a message in the queue.
- queue
Name string - The name of the queue to create.
- virtual
Host stringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto_
delete_ boolstate - Specifies whether to automatically delete the queue. Valid values:
- auto_
expire_ strstate - The auto-expiration time for the queue.
- dead_
letter_ strexchange - The dead-letter exchange.
- dead_
letter_ strrouting_ key - The dead-letter routing key.
- instance_
id str - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- max_
length str - The maximum number of messages that can be stored in the queue.
- maximum_
priority int - The priority of the queue.
- message_
ttl str - The time to live (TTL) of a message in the queue.
- queue_
name str - The name of the queue to create.
- virtual_
host_ strname - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
- auto
Delete BooleanState - Specifies whether to automatically delete the queue. Valid values:
- auto
Expire StringState - The auto-expiration time for the queue.
- dead
Letter StringExchange - The dead-letter exchange.
- dead
Letter StringRouting Key - The dead-letter routing key.
- instance
Id String - The ID of the ApsaraMQ for RabbitMQ instance to which the queue belongs.
- max
Length String - The maximum number of messages that can be stored in the queue.
- maximum
Priority Number - The priority of the queue.
- message
Ttl String - The time to live (TTL) of a message in the queue.
- queue
Name String - The name of the queue to create.
- virtual
Host StringName - The name of the vhost to which the queue belongs. The name can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). The name must be 1 to 255 characters in length.
Import
RabbitMQ (AMQP) Queue can be imported using the id, e.g.
$ pulumi import alicloud:amqp/queue:Queue example <instance_id>:<virtual_host_name>:<queue_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
