1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. message
  5. ServiceQueue
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

alicloud.message.ServiceQueue

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

    Provides a Message Notification Service Queue resource.

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

    NOTE: Available since v1.188.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "tf-example";
    const queue = new alicloud.message.ServiceQueue("queue", {
        queueName: name,
        delaySeconds: 60478,
        maximumMessageSize: 12357,
        messageRetentionPeriod: 256000,
        visibilityTimeout: 30,
        pollingWaitSeconds: 3,
        loggingEnabled: true,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf-example"
    queue = alicloud.message.ServiceQueue("queue",
        queue_name=name,
        delay_seconds=60478,
        maximum_message_size=12357,
        message_retention_period=256000,
        visibility_timeout=30,
        polling_wait_seconds=3,
        logging_enabled=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/message"
    	"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 := "tf-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_, err := message.NewServiceQueue(ctx, "queue", &message.ServiceQueueArgs{
    			QueueName:              pulumi.String(name),
    			DelaySeconds:           pulumi.Int(60478),
    			MaximumMessageSize:     pulumi.Int(12357),
    			MessageRetentionPeriod: pulumi.Int(256000),
    			VisibilityTimeout:      pulumi.Int(30),
    			PollingWaitSeconds:     pulumi.Int(3),
    			LoggingEnabled:         pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "tf-example";
        var queue = new AliCloud.Message.ServiceQueue("queue", new()
        {
            QueueName = name,
            DelaySeconds = 60478,
            MaximumMessageSize = 12357,
            MessageRetentionPeriod = 256000,
            VisibilityTimeout = 30,
            PollingWaitSeconds = 3,
            LoggingEnabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.message.ServiceQueue;
    import com.pulumi.alicloud.message.ServiceQueueArgs;
    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("tf-example");
            var queue = new ServiceQueue("queue", ServiceQueueArgs.builder()        
                .queueName(name)
                .delaySeconds(60478)
                .maximumMessageSize(12357)
                .messageRetentionPeriod(256000)
                .visibilityTimeout(30)
                .pollingWaitSeconds(3)
                .loggingEnabled(true)
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: tf-example
    resources:
      queue:
        type: alicloud:message:ServiceQueue
        properties:
          queueName: ${name}
          delaySeconds: 60478
          maximumMessageSize: 12357
          messageRetentionPeriod: 256000
          visibilityTimeout: 30
          pollingWaitSeconds: 3
          loggingEnabled: true
    

    Create ServiceQueue Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceQueue(name: string, args: ServiceQueueArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceQueue(resource_name: str,
                     args: ServiceQueueArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceQueue(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     queue_name: Optional[str] = None,
                     delay_seconds: Optional[int] = None,
                     logging_enabled: Optional[bool] = None,
                     maximum_message_size: Optional[int] = None,
                     message_retention_period: Optional[int] = None,
                     polling_wait_seconds: Optional[int] = None,
                     visibility_timeout: Optional[int] = None)
    func NewServiceQueue(ctx *Context, name string, args ServiceQueueArgs, opts ...ResourceOption) (*ServiceQueue, error)
    public ServiceQueue(string name, ServiceQueueArgs args, CustomResourceOptions? opts = null)
    public ServiceQueue(String name, ServiceQueueArgs args)
    public ServiceQueue(String name, ServiceQueueArgs args, CustomResourceOptions options)
    
    type: alicloud:message:ServiceQueue
    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 ServiceQueueArgs
    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 ServiceQueueArgs
    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 ServiceQueueArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceQueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceQueueArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var serviceQueueResource = new AliCloud.Message.ServiceQueue("serviceQueueResource", new()
    {
        QueueName = "string",
        DelaySeconds = 0,
        LoggingEnabled = false,
        MaximumMessageSize = 0,
        MessageRetentionPeriod = 0,
        PollingWaitSeconds = 0,
        VisibilityTimeout = 0,
    });
    
    example, err := message.NewServiceQueue(ctx, "serviceQueueResource", &message.ServiceQueueArgs{
    	QueueName:              pulumi.String("string"),
    	DelaySeconds:           pulumi.Int(0),
    	LoggingEnabled:         pulumi.Bool(false),
    	MaximumMessageSize:     pulumi.Int(0),
    	MessageRetentionPeriod: pulumi.Int(0),
    	PollingWaitSeconds:     pulumi.Int(0),
    	VisibilityTimeout:      pulumi.Int(0),
    })
    
    var serviceQueueResource = new ServiceQueue("serviceQueueResource", ServiceQueueArgs.builder()        
        .queueName("string")
        .delaySeconds(0)
        .loggingEnabled(false)
        .maximumMessageSize(0)
        .messageRetentionPeriod(0)
        .pollingWaitSeconds(0)
        .visibilityTimeout(0)
        .build());
    
    service_queue_resource = alicloud.message.ServiceQueue("serviceQueueResource",
        queue_name="string",
        delay_seconds=0,
        logging_enabled=False,
        maximum_message_size=0,
        message_retention_period=0,
        polling_wait_seconds=0,
        visibility_timeout=0)
    
    const serviceQueueResource = new alicloud.message.ServiceQueue("serviceQueueResource", {
        queueName: "string",
        delaySeconds: 0,
        loggingEnabled: false,
        maximumMessageSize: 0,
        messageRetentionPeriod: 0,
        pollingWaitSeconds: 0,
        visibilityTimeout: 0,
    });
    
    type: alicloud:message:ServiceQueue
    properties:
        delaySeconds: 0
        loggingEnabled: false
        maximumMessageSize: 0
        messageRetentionPeriod: 0
        pollingWaitSeconds: 0
        queueName: string
        visibilityTimeout: 0
    

    ServiceQueue Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ServiceQueue resource accepts the following input properties:

    QueueName string
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    DelaySeconds int
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    LoggingEnabled bool
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    MaximumMessageSize int
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    MessageRetentionPeriod int
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    PollingWaitSeconds int
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    VisibilityTimeout int
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    QueueName string
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    DelaySeconds int
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    LoggingEnabled bool
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    MaximumMessageSize int
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    MessageRetentionPeriod int
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    PollingWaitSeconds int
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    VisibilityTimeout int
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    queueName String
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    delaySeconds Integer
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    loggingEnabled Boolean
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximumMessageSize Integer
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    messageRetentionPeriod Integer
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    pollingWaitSeconds Integer
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    visibilityTimeout Integer
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    queueName string
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    delaySeconds number
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    loggingEnabled boolean
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximumMessageSize number
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    messageRetentionPeriod number
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    pollingWaitSeconds number
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    visibilityTimeout number
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    queue_name str
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    delay_seconds int
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    logging_enabled bool
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximum_message_size int
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    message_retention_period int
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    polling_wait_seconds int
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    visibility_timeout int
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    queueName String
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    delaySeconds Number
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    loggingEnabled Boolean
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximumMessageSize Number
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    messageRetentionPeriod Number
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    pollingWaitSeconds Number
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    visibilityTimeout Number
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceQueue 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 ServiceQueue Resource

    Get an existing ServiceQueue 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?: ServiceQueueState, opts?: CustomResourceOptions): ServiceQueue
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            delay_seconds: Optional[int] = None,
            logging_enabled: Optional[bool] = None,
            maximum_message_size: Optional[int] = None,
            message_retention_period: Optional[int] = None,
            polling_wait_seconds: Optional[int] = None,
            queue_name: Optional[str] = None,
            visibility_timeout: Optional[int] = None) -> ServiceQueue
    func GetServiceQueue(ctx *Context, name string, id IDInput, state *ServiceQueueState, opts ...ResourceOption) (*ServiceQueue, error)
    public static ServiceQueue Get(string name, Input<string> id, ServiceQueueState? state, CustomResourceOptions? opts = null)
    public static ServiceQueue get(String name, Output<String> id, ServiceQueueState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    DelaySeconds int
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    LoggingEnabled bool
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    MaximumMessageSize int
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    MessageRetentionPeriod int
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    PollingWaitSeconds int
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    QueueName string
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    VisibilityTimeout int
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    DelaySeconds int
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    LoggingEnabled bool
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    MaximumMessageSize int
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    MessageRetentionPeriod int
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    PollingWaitSeconds int
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    QueueName string
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    VisibilityTimeout int
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    delaySeconds Integer
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    loggingEnabled Boolean
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximumMessageSize Integer
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    messageRetentionPeriod Integer
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    pollingWaitSeconds Integer
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    queueName String
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    visibilityTimeout Integer
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    delaySeconds number
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    loggingEnabled boolean
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximumMessageSize number
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    messageRetentionPeriod number
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    pollingWaitSeconds number
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    queueName string
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    visibilityTimeout number
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    delay_seconds int
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    logging_enabled bool
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximum_message_size int
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    message_retention_period int
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    polling_wait_seconds int
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    queue_name str
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    visibility_timeout int
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
    delaySeconds Number
    The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
    loggingEnabled Boolean
    Specifies whether to enable the log management feature. Default value: false. Valid values:
    maximumMessageSize Number
    The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
    messageRetentionPeriod Number
    The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
    pollingWaitSeconds Number
    The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
    queueName String
    Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
    visibilityTimeout Number
    The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.

    Import

    Message Notification Service Queue can be imported using the id or queue_name, e.g.

    $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <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 alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi