scaleway.MnqSqsQueue
Explore with Pulumi AI
Creates and manages Scaleway Messaging and Queuing SQS queues. For further information, see our main documentation.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const main = new scaleway.MnqSqs("main", {});
const mainMnqSqsCredentials = new scaleway.MnqSqsCredentials("main", {
projectId: main.projectId,
name: "sqs-credentials",
permissions: {
canManage: true,
canReceive: false,
canPublish: false,
},
});
const mainMnqSqsQueue = new scaleway.MnqSqsQueue("main", {
projectId: main.projectId,
name: "my-queue",
sqsEndpoint: main.endpoint,
accessKey: mainMnqSqsCredentials.accessKey,
secretKey: mainMnqSqsCredentials.secretKey,
});
import pulumi
import pulumiverse_scaleway as scaleway
main = scaleway.MnqSqs("main")
main_mnq_sqs_credentials = scaleway.MnqSqsCredentials("main",
project_id=main.project_id,
name="sqs-credentials",
permissions={
"can_manage": True,
"can_receive": False,
"can_publish": False,
})
main_mnq_sqs_queue = scaleway.MnqSqsQueue("main",
project_id=main.project_id,
name="my-queue",
sqs_endpoint=main.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 {
main, err := scaleway.NewMnqSqs(ctx, "main", nil)
if err != nil {
return err
}
mainMnqSqsCredentials, err := scaleway.NewMnqSqsCredentials(ctx, "main", &scaleway.MnqSqsCredentialsArgs{
ProjectId: main.ProjectId,
Name: pulumi.String("sqs-credentials"),
Permissions: &scaleway.MnqSqsCredentialsPermissionsArgs{
CanManage: pulumi.Bool(true),
CanReceive: pulumi.Bool(false),
CanPublish: pulumi.Bool(false),
},
})
if err != nil {
return err
}
_, err = scaleway.NewMnqSqsQueue(ctx, "main", &scaleway.MnqSqsQueueArgs{
ProjectId: main.ProjectId,
Name: pulumi.String("my-queue"),
SqsEndpoint: main.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 main = new Scaleway.MnqSqs("main");
var mainMnqSqsCredentials = new Scaleway.MnqSqsCredentials("main", new()
{
ProjectId = main.ProjectId,
Name = "sqs-credentials",
Permissions = new Scaleway.Inputs.MnqSqsCredentialsPermissionsArgs
{
CanManage = true,
CanReceive = false,
CanPublish = false,
},
});
var mainMnqSqsQueue = new Scaleway.MnqSqsQueue("main", new()
{
ProjectId = main.ProjectId,
Name = "my-queue",
SqsEndpoint = main.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 main = new MnqSqs("main");
var mainMnqSqsCredentials = new MnqSqsCredentials("mainMnqSqsCredentials", MnqSqsCredentialsArgs.builder()
.projectId(main.projectId())
.name("sqs-credentials")
.permissions(MnqSqsCredentialsPermissionsArgs.builder()
.canManage(true)
.canReceive(false)
.canPublish(false)
.build())
.build());
var mainMnqSqsQueue = new MnqSqsQueue("mainMnqSqsQueue", MnqSqsQueueArgs.builder()
.projectId(main.projectId())
.name("my-queue")
.sqsEndpoint(main.endpoint())
.accessKey(mainMnqSqsCredentials.accessKey())
.secretKey(mainMnqSqsCredentials.secretKey())
.build());
}
}
resources:
main:
type: scaleway:MnqSqs
mainMnqSqsCredentials:
type: scaleway:MnqSqsCredentials
name: main
properties:
projectId: ${main.projectId}
name: sqs-credentials
permissions:
canManage: true
canReceive: false
canPublish: false
mainMnqSqsQueue:
type: scaleway:MnqSqsQueue
name: main
properties:
projectId: ${main.projectId}
name: my-queue
sqsEndpoint: ${main.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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MnqSqsQueue resource accepts the following input properties:
- Access
Key string - The access key of the SQS queue.
- Secret
Key string - The secret key of the SQS queue.
- Content
Based boolDeduplication - 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 intAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- Message
Max intSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - Name
Prefix string - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - Project
Id string project_id
) The ID of the Project in which SQS is enabled.- Receive
Wait intTime Seconds - 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.- Sqs
Endpoint string - The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to
https://sqs.mnq.{region}.scaleway.com
. - Visibility
Timeout intSeconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- Access
Key string - The access key of the SQS queue.
- Secret
Key string - The secret key of the SQS queue.
- Content
Based boolDeduplication - 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 intAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- Message
Max intSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - Name
Prefix string - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - Project
Id string project_id
) The ID of the Project in which SQS is enabled.- Receive
Wait intTime Seconds - 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.- Sqs
Endpoint string - The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to
https://sqs.mnq.{region}.scaleway.com
. - Visibility
Timeout intSeconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- access
Key String - The access key of the SQS queue.
- secret
Key String - The secret key of the SQS queue.
- content
Based BooleanDeduplication - Specifies whether to enable content-based deduplication. Defaults to
false
. - fifo
Queue Boolean - Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to
false
. - message
Max IntegerAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message
Max IntegerSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - name
Prefix String - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - project
Id String project_id
) The ID of the Project in which SQS is enabled.- receive
Wait IntegerTime Seconds - 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.- sqs
Endpoint String - The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to
https://sqs.mnq.{region}.scaleway.com
. - visibility
Timeout IntegerSeconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- access
Key string - The access key of the SQS queue.
- secret
Key string - The secret key of the SQS queue.
- content
Based booleanDeduplication - Specifies whether to enable content-based deduplication. Defaults to
false
. - fifo
Queue boolean - Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to
false
. - message
Max numberAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message
Max numberSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - name
Prefix string - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - project
Id string project_id
) The ID of the Project in which SQS is enabled.- receive
Wait numberTime Seconds - 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.- sqs
Endpoint string - The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to
https://sqs.mnq.{region}.scaleway.com
. - visibility
Timeout numberSeconds - 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_ booldeduplication - 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_ intage - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message_
max_ intsize - 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
orname_prefix
is required. Conflicts withname_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 in which SQS is enabled.- receive_
wait_ inttime_ seconds - 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_ intseconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- access
Key String - The access key of the SQS queue.
- secret
Key String - The secret key of the SQS queue.
- content
Based BooleanDeduplication - Specifies whether to enable content-based deduplication. Defaults to
false
. - fifo
Queue Boolean - Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to
false
. - message
Max NumberAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message
Max NumberSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - name
Prefix String - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - project
Id String project_id
) The ID of the Project in which SQS is enabled.- receive
Wait NumberTime Seconds - 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.- sqs
Endpoint String - The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to
https://sqs.mnq.{region}.scaleway.com
. - visibility
Timeout NumberSeconds - 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:
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.
- Access
Key string - The access key of the SQS queue.
- Content
Based boolDeduplication - 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 intAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- Message
Max intSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - Name
Prefix string - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - Project
Id string project_id
) The ID of the Project in which SQS is enabled.- Receive
Wait intTime Seconds - 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.- Secret
Key string - The secret key of the SQS queue.
- Sqs
Endpoint 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.
- Visibility
Timeout intSeconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- Access
Key string - The access key of the SQS queue.
- Content
Based boolDeduplication - 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 intAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- Message
Max intSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - Name
Prefix string - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - Project
Id string project_id
) The ID of the Project in which SQS is enabled.- Receive
Wait intTime Seconds - 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.- Secret
Key string - The secret key of the SQS queue.
- Sqs
Endpoint 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.
- Visibility
Timeout intSeconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- access
Key String - The access key of the SQS queue.
- content
Based BooleanDeduplication - Specifies whether to enable content-based deduplication. Defaults to
false
. - fifo
Queue Boolean - Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to
false
. - message
Max IntegerAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message
Max IntegerSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - name
Prefix String - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - project
Id String project_id
) The ID of the Project in which SQS is enabled.- receive
Wait IntegerTime Seconds - 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.- secret
Key String - The secret key of the SQS queue.
- sqs
Endpoint 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.
- visibility
Timeout IntegerSeconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- access
Key string - The access key of the SQS queue.
- content
Based booleanDeduplication - Specifies whether to enable content-based deduplication. Defaults to
false
. - fifo
Queue boolean - Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to
false
. - message
Max numberAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message
Max numberSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - name
Prefix string - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - project
Id string project_id
) The ID of the Project in which SQS is enabled.- receive
Wait numberTime Seconds - 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.- secret
Key string - The secret key of the SQS queue.
- sqs
Endpoint 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.
- visibility
Timeout numberSeconds - 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_ booldeduplication - 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_ intage - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message_
max_ intsize - 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
orname_prefix
is required. Conflicts withname_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 in which SQS is enabled.- receive_
wait_ inttime_ seconds - 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_ intseconds - The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
- access
Key String - The access key of the SQS queue.
- content
Based BooleanDeduplication - Specifies whether to enable content-based deduplication. Defaults to
false
. - fifo
Queue Boolean - Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to
false
. - message
Max NumberAge - The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
- message
Max NumberSize - 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
orname_prefix
is required. Conflicts withname_prefix
. - name
Prefix String - Creates a unique name beginning with the specified prefix. Conflicts with
name
. - project
Id String project_id
) The ID of the Project in which SQS is enabled.- receive
Wait NumberTime Seconds - 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.- secret
Key String - The secret key of the SQS queue.
- sqs
Endpoint 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.
- visibility
Timeout NumberSeconds - 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.