import * as core from "@terrascript/core"; export interface QueueArgs extends core.ResourceArgs { /** * (Optional) Enables content-based deduplication for FIFO queues. For more information, see the [relat * ed documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-que * ues.html#FIFO-queues-exactly-once-processing) */ contentBasedDeduplication?: boolean | core.BooleanOut; /** * (Optional) Specifies whether message deduplication occurs at the message group or queue level. Valid * values are `messageGroup` and `queue` (default). */ deduplicationScope?: string | core.StringOut; /** * (Optional) The time in seconds that the delivery of all messages in the queue will be delayed. An in * teger from 0 to 900 (15 minutes). The default for this attribute is 0 seconds. */ delaySeconds?: number | core.NumberOut; /** * (Optional) Boolean designating a FIFO queue. If not set, it defaults to `false` making it standard. */ fifoQueue?: boolean | core.BooleanOut; /** * (Optional) Specifies whether the FIFO queue throughput quota applies to the entire queue or per mess * age group. Valid values are `perQueue` (default) and `perMessageGroupId`. */ fifoThroughputLimit?: string | core.StringOut; /** * (Optional) The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or d * ecrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 * minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). */ kmsDataKeyReusePeriodSeconds?: number | core.NumberOut; /** * (Optional) The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For mo * re information, see [Key Terms](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloper * Guide/sqs-server-side-encryption.html#sqs-sse-key-terms). */ kmsMasterKeyId?: string | core.StringOut; /** * (Optional) The limit of how many bytes a message can contain before Amazon SQS rejects it. An intege * r from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (25 * 6 KiB). */ maxMessageSize?: number | core.NumberOut; /** * (Optional) The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 * (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days). */ messageRetentionSeconds?: number | core.NumberOut; /** * (Optional) The name of the queue. Queue names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, and hyphens, and must be between 1 and 80 characters long. For a FIFO * (first-in-first-out) queue, the name must end with the `.fifo` suffix. If omitted, Terraform will a * ssign a random, unique name. Conflicts with `name_prefix` */ name?: string | core.StringOut; /** * (Optional) Creates a unique name beginning with the specified prefix. Conflicts with `name` */ namePrefix?: string | core.StringOut; /** * (Optional) The JSON policy for the SQS queue. For more information about building AWS IAM policy doc * uments with Terraform, see the [AWS IAM Policy Document Guide](https://learn.hashicorp.com/terraform * /aws/iam-policy). */ policy?: string | core.StringOut; /** * (Optional) The time for which a ReceiveMessage call will wait for a message to arrive (long polling) * before returning. An integer from 0 to 20 (seconds). The default for this attribute is 0, meaning t * hat the call will return immediately. */ receiveWaitTimeSeconds?: number | core.NumberOut; /** * (Optional) The JSON policy to set up the Dead Letter Queue redrive permission, see [AWS docs](https: * //docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html). */ redriveAllowPolicy?: string | core.StringOut; /** * (Optional) The JSON policy to set up the Dead Letter Queue, see [AWS docs](https://docs.aws.amazon.c * om/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html). **Note:** when specifyin * g `maxReceiveCount`, you must specify it as an integer (`5`), and not a string (`"5"`). */ redrivePolicy?: string | core.StringOut; /** * (Optional) Boolean to enable server-side encryption (SSE) of message content with SQS-owned encrypti * on keys. Defaults to `false`. See [Encryption at rest](https://docs.aws.amazon.com/AWSSimpleQueueSer * vice/latest/SQSDeveloperGuide/sqs-server-side-encryption.html). */ sqsManagedSseEnabled?: boolean | core.BooleanOut; /** * (Optional) A map of tags to assign to the queue. If configured with a provider [`default_tags` confi * guration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-confi * guration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default * for this attribute is 30. For more information about visibility timeout, see [AWS docs](https://docs * .aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html). */ visibilityTimeoutSeconds?: number | core.NumberOut; } export declare class Queue extends core.Resource { /** * The ARN of the SQS queue */ arn: string | core.StringOut; /** * (Optional) Enables content-based deduplication for FIFO queues. For more information, see the [relat * ed documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-que * ues.html#FIFO-queues-exactly-once-processing) */ contentBasedDeduplication?: boolean | core.BooleanOut; /** * (Optional) Specifies whether message deduplication occurs at the message group or queue level. Valid * values are `messageGroup` and `queue` (default). */ deduplicationScope?: string | core.StringOut; /** * (Optional) The time in seconds that the delivery of all messages in the queue will be delayed. An in * teger from 0 to 900 (15 minutes). The default for this attribute is 0 seconds. */ delaySeconds?: number | core.NumberOut; /** * (Optional) Boolean designating a FIFO queue. If not set, it defaults to `false` making it standard. */ fifoQueue?: boolean | core.BooleanOut; /** * (Optional) Specifies whether the FIFO queue throughput quota applies to the entire queue or per mess * age group. Valid values are `perQueue` (default) and `perMessageGroupId`. */ fifoThroughputLimit?: string | core.StringOut; /** * The URL for the created Amazon SQS queue. */ id: string | core.StringOut; /** * (Optional) The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or d * ecrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 * minute) and 86,400 seconds (24 hours). The default is 300 (5 minutes). */ kmsDataKeyReusePeriodSeconds?: number | core.NumberOut; /** * (Optional) The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For mo * re information, see [Key Terms](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloper * Guide/sqs-server-side-encryption.html#sqs-sse-key-terms). */ kmsMasterKeyId?: string | core.StringOut; /** * (Optional) The limit of how many bytes a message can contain before Amazon SQS rejects it. An intege * r from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (25 * 6 KiB). */ maxMessageSize?: number | core.NumberOut; /** * (Optional) The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 * (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days). */ messageRetentionSeconds?: number | core.NumberOut; /** * (Optional) The name of the queue. Queue names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, and hyphens, and must be between 1 and 80 characters long. For a FIFO * (first-in-first-out) queue, the name must end with the `.fifo` suffix. If omitted, Terraform will a * ssign a random, unique name. Conflicts with `name_prefix` */ name?: string | core.StringOut; /** * (Optional) Creates a unique name beginning with the specified prefix. Conflicts with `name` */ namePrefix?: string | core.StringOut; /** * (Optional) The JSON policy for the SQS queue. For more information about building AWS IAM policy doc * uments with Terraform, see the [AWS IAM Policy Document Guide](https://learn.hashicorp.com/terraform * /aws/iam-policy). */ policy?: string | core.StringOut; /** * (Optional) The time for which a ReceiveMessage call will wait for a message to arrive (long polling) * before returning. An integer from 0 to 20 (seconds). The default for this attribute is 0, meaning t * hat the call will return immediately. */ receiveWaitTimeSeconds?: number | core.NumberOut; /** * (Optional) The JSON policy to set up the Dead Letter Queue redrive permission, see [AWS docs](https: * //docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html). */ redriveAllowPolicy?: string | core.StringOut; /** * (Optional) The JSON policy to set up the Dead Letter Queue, see [AWS docs](https://docs.aws.amazon.c * om/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html). **Note:** when specifyin * g `maxReceiveCount`, you must specify it as an integer (`5`), and not a string (`"5"`). */ redrivePolicy?: string | core.StringOut; /** * (Optional) Boolean to enable server-side encryption (SSE) of message content with SQS-owned encrypti * on keys. Defaults to `false`. See [Encryption at rest](https://docs.aws.amazon.com/AWSSimpleQueueSer * vice/latest/SQSDeveloperGuide/sqs-server-side-encryption.html). */ sqsManagedSseEnabled?: boolean | core.BooleanOut; /** * (Optional) A map of tags to assign to the queue. If configured with a provider [`default_tags` confi * guration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-confi * guration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * Same as `id`: The URL for the created Amazon SQS queue. */ url: string | core.StringOut; /** * (Optional) The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default * for this attribute is 30. For more information about visibility timeout, see [AWS docs](https://docs * .aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html). */ visibilityTimeoutSeconds?: number | core.NumberOut; constructor(name: string, args?: QueueArgs); getNamespace(): string; } //# sourceMappingURL=queue.d.ts.map