1. Packages
  2. Scaleway
  3. API Docs
  4. MnqSqsQueue
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

scaleway.MnqSqsQueue

Explore with Pulumi AI

scaleway logo
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

    Creates and manages Scaleway Messaging and queuing SQS Queues. For further information please check our documentation

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const mainMnqSqs = new scaleway.MnqSqs("mainMnqSqs", {});
    const mainMnqSqsCredentials = new scaleway.MnqSqsCredentials("mainMnqSqsCredentials", {
        projectId: mainMnqSqs.projectId,
        permissions: {
            canManage: true,
            canReceive: false,
            canPublish: false,
        },
    });
    const mainMnqSqsQueue = new scaleway.MnqSqsQueue("mainMnqSqsQueue", {
        projectId: mainMnqSqs.projectId,
        sqsEndpoint: mainMnqSqs.endpoint,
        accessKey: mainMnqSqsCredentials.accessKey,
        secretKey: mainMnqSqsCredentials.secretKey,
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    main_mnq_sqs = scaleway.MnqSqs("mainMnqSqs")
    main_mnq_sqs_credentials = scaleway.MnqSqsCredentials("mainMnqSqsCredentials",
        project_id=main_mnq_sqs.project_id,
        permissions=scaleway.MnqSqsCredentialsPermissionsArgs(
            can_manage=True,
            can_receive=False,
            can_publish=False,
        ))
    main_mnq_sqs_queue = scaleway.MnqSqsQueue("mainMnqSqsQueue",
        project_id=main_mnq_sqs.project_id,
        sqs_endpoint=main_mnq_sqs.endpoint,
        access_key=main_mnq_sqs_credentials.access_key,
        secret_key=main_mnq_sqs_credentials.secret_key)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		mainMnqSqs, err := scaleway.NewMnqSqs(ctx, "mainMnqSqs", nil)
    		if err != nil {
    			return err
    		}
    		mainMnqSqsCredentials, err := scaleway.NewMnqSqsCredentials(ctx, "mainMnqSqsCredentials", &scaleway.MnqSqsCredentialsArgs{
    			ProjectId: mainMnqSqs.ProjectId,
    			Permissions: &scaleway.MnqSqsCredentialsPermissionsArgs{
    				CanManage:  pulumi.Bool(true),
    				CanReceive: pulumi.Bool(false),
    				CanPublish: pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewMnqSqsQueue(ctx, "mainMnqSqsQueue", &scaleway.MnqSqsQueueArgs{
    			ProjectId:   mainMnqSqs.ProjectId,
    			SqsEndpoint: mainMnqSqs.Endpoint,
    			AccessKey:   mainMnqSqsCredentials.AccessKey,
    			SecretKey:   mainMnqSqsCredentials.SecretKey,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var mainMnqSqs = new Scaleway.MnqSqs("mainMnqSqs");
    
        var mainMnqSqsCredentials = new Scaleway.MnqSqsCredentials("mainMnqSqsCredentials", new()
        {
            ProjectId = mainMnqSqs.ProjectId,
            Permissions = new Scaleway.Inputs.MnqSqsCredentialsPermissionsArgs
            {
                CanManage = true,
                CanReceive = false,
                CanPublish = false,
            },
        });
    
        var mainMnqSqsQueue = new Scaleway.MnqSqsQueue("mainMnqSqsQueue", new()
        {
            ProjectId = mainMnqSqs.ProjectId,
            SqsEndpoint = mainMnqSqs.Endpoint,
            AccessKey = mainMnqSqsCredentials.AccessKey,
            SecretKey = mainMnqSqsCredentials.SecretKey,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.MnqSqs;
    import com.pulumi.scaleway.MnqSqsCredentials;
    import com.pulumi.scaleway.MnqSqsCredentialsArgs;
    import com.pulumi.scaleway.inputs.MnqSqsCredentialsPermissionsArgs;
    import com.pulumi.scaleway.MnqSqsQueue;
    import com.pulumi.scaleway.MnqSqsQueueArgs;
    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) {
            var mainMnqSqs = new MnqSqs("mainMnqSqs");
    
            var mainMnqSqsCredentials = new MnqSqsCredentials("mainMnqSqsCredentials", MnqSqsCredentialsArgs.builder()        
                .projectId(mainMnqSqs.projectId())
                .permissions(MnqSqsCredentialsPermissionsArgs.builder()
                    .canManage(true)
                    .canReceive(false)
                    .canPublish(false)
                    .build())
                .build());
    
            var mainMnqSqsQueue = new MnqSqsQueue("mainMnqSqsQueue", MnqSqsQueueArgs.builder()        
                .projectId(mainMnqSqs.projectId())
                .sqsEndpoint(mainMnqSqs.endpoint())
                .accessKey(mainMnqSqsCredentials.accessKey())
                .secretKey(mainMnqSqsCredentials.secretKey())
                .build());
    
        }
    }
    
    resources:
      mainMnqSqs:
        type: scaleway:MnqSqs
      mainMnqSqsCredentials:
        type: scaleway:MnqSqsCredentials
        properties:
          projectId: ${mainMnqSqs.projectId}
          permissions:
            canManage: true
            canReceive: false
            canPublish: false
      mainMnqSqsQueue:
        type: scaleway:MnqSqsQueue
        properties:
          projectId: ${mainMnqSqs.projectId}
          sqsEndpoint: ${mainMnqSqs.endpoint}
          accessKey: ${mainMnqSqsCredentials.accessKey}
          secretKey: ${mainMnqSqsCredentials.secretKey}
    

    Create MnqSqsQueue Resource

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

    Constructor syntax

    new MnqSqsQueue(name: string, args: MnqSqsQueueArgs, opts?: CustomResourceOptions);
    @overload
    def MnqSqsQueue(resource_name: str,
                    args: MnqSqsQueueArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def MnqSqsQueue(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    access_key: Optional[str] = None,
                    secret_key: Optional[str] = None,
                    name_prefix: Optional[str] = None,
                    message_max_age: Optional[int] = None,
                    message_max_size: Optional[int] = None,
                    name: Optional[str] = None,
                    fifo_queue: Optional[bool] = None,
                    project_id: Optional[str] = None,
                    receive_wait_time_seconds: Optional[int] = None,
                    region: Optional[str] = None,
                    content_based_deduplication: Optional[bool] = None,
                    sqs_endpoint: Optional[str] = None,
                    visibility_timeout_seconds: Optional[int] = None)
    func NewMnqSqsQueue(ctx *Context, name string, args MnqSqsQueueArgs, opts ...ResourceOption) (*MnqSqsQueue, error)
    public MnqSqsQueue(string name, MnqSqsQueueArgs args, CustomResourceOptions? opts = null)
    public MnqSqsQueue(String name, MnqSqsQueueArgs args)
    public MnqSqsQueue(String name, MnqSqsQueueArgs args, CustomResourceOptions options)
    
    type: scaleway:MnqSqsQueue
    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 MnqSqsQueueArgs
    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 MnqSqsQueueArgs
    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 MnqSqsQueueArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MnqSqsQueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MnqSqsQueueArgs
    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 mnqSqsQueueResource = new Scaleway.MnqSqsQueue("mnqSqsQueueResource", new()
    {
        AccessKey = "string",
        SecretKey = "string",
        NamePrefix = "string",
        MessageMaxAge = 0,
        MessageMaxSize = 0,
        Name = "string",
        FifoQueue = false,
        ProjectId = "string",
        ReceiveWaitTimeSeconds = 0,
        Region = "string",
        ContentBasedDeduplication = false,
        SqsEndpoint = "string",
        VisibilityTimeoutSeconds = 0,
    });
    
    example, err := scaleway.NewMnqSqsQueue(ctx, "mnqSqsQueueResource", &scaleway.MnqSqsQueueArgs{
    	AccessKey:                 pulumi.String("string"),
    	SecretKey:                 pulumi.String("string"),
    	NamePrefix:                pulumi.String("string"),
    	MessageMaxAge:             pulumi.Int(0),
    	MessageMaxSize:            pulumi.Int(0),
    	Name:                      pulumi.String("string"),
    	FifoQueue:                 pulumi.Bool(false),
    	ProjectId:                 pulumi.String("string"),
    	ReceiveWaitTimeSeconds:    pulumi.Int(0),
    	Region:                    pulumi.String("string"),
    	ContentBasedDeduplication: pulumi.Bool(false),
    	SqsEndpoint:               pulumi.String("string"),
    	VisibilityTimeoutSeconds:  pulumi.Int(0),
    })
    
    var mnqSqsQueueResource = new MnqSqsQueue("mnqSqsQueueResource", MnqSqsQueueArgs.builder()
        .accessKey("string")
        .secretKey("string")
        .namePrefix("string")
        .messageMaxAge(0)
        .messageMaxSize(0)
        .name("string")
        .fifoQueue(false)
        .projectId("string")
        .receiveWaitTimeSeconds(0)
        .region("string")
        .contentBasedDeduplication(false)
        .sqsEndpoint("string")
        .visibilityTimeoutSeconds(0)
        .build());
    
    mnq_sqs_queue_resource = scaleway.MnqSqsQueue("mnqSqsQueueResource",
        access_key="string",
        secret_key="string",
        name_prefix="string",
        message_max_age=0,
        message_max_size=0,
        name="string",
        fifo_queue=False,
        project_id="string",
        receive_wait_time_seconds=0,
        region="string",
        content_based_deduplication=False,
        sqs_endpoint="string",
        visibility_timeout_seconds=0)
    
    const mnqSqsQueueResource = new scaleway.MnqSqsQueue("mnqSqsQueueResource", {
        accessKey: "string",
        secretKey: "string",
        namePrefix: "string",
        messageMaxAge: 0,
        messageMaxSize: 0,
        name: "string",
        fifoQueue: false,
        projectId: "string",
        receiveWaitTimeSeconds: 0,
        region: "string",
        contentBasedDeduplication: false,
        sqsEndpoint: "string",
        visibilityTimeoutSeconds: 0,
    });
    
    type: scaleway:MnqSqsQueue
    properties:
        accessKey: string
        contentBasedDeduplication: false
        fifoQueue: false
        messageMaxAge: 0
        messageMaxSize: 0
        name: string
        namePrefix: string
        projectId: string
        receiveWaitTimeSeconds: 0
        region: string
        secretKey: string
        sqsEndpoint: string
        visibilityTimeoutSeconds: 0
    

    MnqSqsQueue 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 MnqSqsQueue resource accepts the following input properties:

    AccessKey string
    The access key of the SQS queue.
    SecretKey string
    The secret key of the SQS queue.
    ContentBasedDeduplication bool
    Specifies whether to enable content-based deduplication. Defaults to false.
    FifoQueue bool
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    MessageMaxAge int
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    MessageMaxSize int
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    Name string
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    ProjectId string
    project_id) The ID of the project the sqs is enabled for.
    ReceiveWaitTimeSeconds int
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    Region string
    region). The region in which sqs is enabled.
    SqsEndpoint string
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    VisibilityTimeoutSeconds int
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    AccessKey string
    The access key of the SQS queue.
    SecretKey string
    The secret key of the SQS queue.
    ContentBasedDeduplication bool
    Specifies whether to enable content-based deduplication. Defaults to false.
    FifoQueue bool
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    MessageMaxAge int
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    MessageMaxSize int
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    Name string
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    ProjectId string
    project_id) The ID of the project the sqs is enabled for.
    ReceiveWaitTimeSeconds int
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    Region string
    region). The region in which sqs is enabled.
    SqsEndpoint string
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    VisibilityTimeoutSeconds int
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    accessKey String
    The access key of the SQS queue.
    secretKey String
    The secret key of the SQS queue.
    contentBasedDeduplication Boolean
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifoQueue Boolean
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    messageMaxAge Integer
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    messageMaxSize Integer
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name String
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    projectId String
    project_id) The ID of the project the sqs is enabled for.
    receiveWaitTimeSeconds Integer
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region String
    region). The region in which sqs is enabled.
    sqsEndpoint String
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    visibilityTimeoutSeconds Integer
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    accessKey string
    The access key of the SQS queue.
    secretKey string
    The secret key of the SQS queue.
    contentBasedDeduplication boolean
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifoQueue boolean
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    messageMaxAge number
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    messageMaxSize number
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name string
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    namePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    projectId string
    project_id) The ID of the project the sqs is enabled for.
    receiveWaitTimeSeconds number
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region string
    region). The region in which sqs is enabled.
    sqsEndpoint string
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    visibilityTimeoutSeconds number
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    access_key str
    The access key of the SQS queue.
    secret_key str
    The secret key of the SQS queue.
    content_based_deduplication bool
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifo_queue bool
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    message_max_age int
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    message_max_size int
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name str
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    name_prefix str
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    project_id str
    project_id) The ID of the project the sqs is enabled for.
    receive_wait_time_seconds int
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region str
    region). The region in which sqs is enabled.
    sqs_endpoint str
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    visibility_timeout_seconds int
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    accessKey String
    The access key of the SQS queue.
    secretKey String
    The secret key of the SQS queue.
    contentBasedDeduplication Boolean
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifoQueue Boolean
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    messageMaxAge Number
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    messageMaxSize Number
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name String
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    projectId String
    project_id) The ID of the project the sqs is enabled for.
    receiveWaitTimeSeconds Number
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region String
    region). The region in which sqs is enabled.
    sqsEndpoint String
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    visibilityTimeoutSeconds Number
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MnqSqsQueue resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    The URL of the queue.
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    The URL of the queue.
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    The URL of the queue.
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    The URL of the queue.
    id str
    The provider-assigned unique ID for this managed resource.
    url str
    The URL of the queue.
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    The URL of the queue.

    Look up Existing MnqSqsQueue Resource

    Get an existing MnqSqsQueue 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?: MnqSqsQueueState, opts?: CustomResourceOptions): MnqSqsQueue
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_key: Optional[str] = None,
            content_based_deduplication: Optional[bool] = None,
            fifo_queue: Optional[bool] = None,
            message_max_age: Optional[int] = None,
            message_max_size: Optional[int] = None,
            name: Optional[str] = None,
            name_prefix: Optional[str] = None,
            project_id: Optional[str] = None,
            receive_wait_time_seconds: Optional[int] = None,
            region: Optional[str] = None,
            secret_key: Optional[str] = None,
            sqs_endpoint: Optional[str] = None,
            url: Optional[str] = None,
            visibility_timeout_seconds: Optional[int] = None) -> MnqSqsQueue
    func GetMnqSqsQueue(ctx *Context, name string, id IDInput, state *MnqSqsQueueState, opts ...ResourceOption) (*MnqSqsQueue, error)
    public static MnqSqsQueue Get(string name, Input<string> id, MnqSqsQueueState? state, CustomResourceOptions? opts = null)
    public static MnqSqsQueue get(String name, Output<String> id, MnqSqsQueueState 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:
    AccessKey string
    The access key of the SQS queue.
    ContentBasedDeduplication bool
    Specifies whether to enable content-based deduplication. Defaults to false.
    FifoQueue bool
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    MessageMaxAge int
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    MessageMaxSize int
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    Name string
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    ProjectId string
    project_id) The ID of the project the sqs is enabled for.
    ReceiveWaitTimeSeconds int
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    Region string
    region). The region in which sqs is enabled.
    SecretKey string
    The secret key of the SQS queue.
    SqsEndpoint string
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    Url string
    The URL of the queue.
    VisibilityTimeoutSeconds int
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    AccessKey string
    The access key of the SQS queue.
    ContentBasedDeduplication bool
    Specifies whether to enable content-based deduplication. Defaults to false.
    FifoQueue bool
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    MessageMaxAge int
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    MessageMaxSize int
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    Name string
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    ProjectId string
    project_id) The ID of the project the sqs is enabled for.
    ReceiveWaitTimeSeconds int
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    Region string
    region). The region in which sqs is enabled.
    SecretKey string
    The secret key of the SQS queue.
    SqsEndpoint string
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    Url string
    The URL of the queue.
    VisibilityTimeoutSeconds int
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    accessKey String
    The access key of the SQS queue.
    contentBasedDeduplication Boolean
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifoQueue Boolean
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    messageMaxAge Integer
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    messageMaxSize Integer
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name String
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    projectId String
    project_id) The ID of the project the sqs is enabled for.
    receiveWaitTimeSeconds Integer
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region String
    region). The region in which sqs is enabled.
    secretKey String
    The secret key of the SQS queue.
    sqsEndpoint String
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    url String
    The URL of the queue.
    visibilityTimeoutSeconds Integer
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    accessKey string
    The access key of the SQS queue.
    contentBasedDeduplication boolean
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifoQueue boolean
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    messageMaxAge number
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    messageMaxSize number
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name string
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    namePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    projectId string
    project_id) The ID of the project the sqs is enabled for.
    receiveWaitTimeSeconds number
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region string
    region). The region in which sqs is enabled.
    secretKey string
    The secret key of the SQS queue.
    sqsEndpoint string
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    url string
    The URL of the queue.
    visibilityTimeoutSeconds number
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    access_key str
    The access key of the SQS queue.
    content_based_deduplication bool
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifo_queue bool
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    message_max_age int
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    message_max_size int
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name str
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    name_prefix str
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    project_id str
    project_id) The ID of the project the sqs is enabled for.
    receive_wait_time_seconds int
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region str
    region). The region in which sqs is enabled.
    secret_key str
    The secret key of the SQS queue.
    sqs_endpoint str
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    url str
    The URL of the queue.
    visibility_timeout_seconds int
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
    accessKey String
    The access key of the SQS queue.
    contentBasedDeduplication Boolean
    Specifies whether to enable content-based deduplication. Defaults to false.
    fifoQueue Boolean
    Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to false.
    messageMaxAge Number
    The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
    messageMaxSize Number
    The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
    name String
    The unique name of the sqs queue. Either name or name_prefix is required. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    projectId String
    project_id) The ID of the project the sqs is enabled for.
    receiveWaitTimeSeconds Number
    The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
    region String
    region). The region in which sqs is enabled.
    secretKey String
    The secret key of the SQS queue.
    sqsEndpoint String
    The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to https://sqs.mnq.{region}.scaleway.com.
    url String
    The URL of the queue.
    visibilityTimeoutSeconds Number
    The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse