![]() Update requires: No interruption DelaySeconds Messages in the Amazon SQS Developer Guide. Throughput for FIFO queues and Quotas related to Values, normal throughput is in effect and deduplication occurs as specified. If you set these attributes to anything other than these MessageGroup and set the FifoThroughputLimit attribute to To enable high throughput for a FIFO queue, set this attribute to Update requires: No interruption DeduplicationScopeįor high throughput for FIFO queues, specifies whether message deduplication occurs at the Information, see the ContentBasedDeduplication attribute for the CreateQueue action in the Amazon SQS API Reference. Sent with identical content as duplicates and delivers only one copy of the message. During the deduplication interval, Amazon SQS treats messages that are Similarly, the dead-letter queue of a standard queue must also be a standard queue.For first-in-first-out (FIFO) queues, specifies whether to enable content-basedĭeduplication. The dead-letter queue of a FIFO queue must also be a FIFO queue. To allow more than 10 source queues to specify dead-letter queues, set the redrivePermission parameter to allowAll. You can specify up to 10 source queue ARNs. You can specify this parameter only when the redrivePermission parameter is set to byQueue. SourceQueueArns – The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. Valid values are:ĪllowAll – (Default) Any source queues in this Amazon Web Services account in the same Region can specify this queue as the dead-letter queue.ĭenyAll – No source queues can specify this queue as the dead-letter queue.īyQueue – Only queues specified by the sourceQueueArns parameter can specify this queue as the dead-letter queue. RedrivePermission – The permission type that defines which source queues can specify the current queue as the dead-letter queue. RedriveAllowPolicy – The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. When the ReceiveCount for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves the message to the dead-letter-queue. MaxReceiveCount – The number of times a message is delivered to the source queue before being moved to the dead-letter queue. The parameters are as follows:ĭeadLetterTargetArn – The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded. RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The following attributes apply only to dead-letter queues: ![]() For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide. Valid values: An integer from 0 to 43,200 (12 hours). VisibilityTimeout – The visibility timeout for the queue, in seconds. Valid values: An integer from 0 to 20 (seconds). ReceiveMessageWaitTimeSeconds – The length of time, in seconds, for which a ReceiveMessage action waits for a message to arrive. For more information about policy structure, see Overview of Amazon Web Services IAM Policies in the IAM User Guide. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes and will impact existing messages in the queue potentially causing them to be expired and deleted if the MessageRetentionPeriod is reduced below the age of existing messages. When you change a queue’s attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Valid values: An integer from 60 seconds (1 minute) to 1,209,600 seconds (14 days). ![]() MessageRetentionPeriod – The length of time, in seconds, for which Amazon SQS retains a message. Valid values: An integer from 1,024 bytes (1 KiB) to 262,144 bytes (256 KiB). MaximumMessageSize – The limit of how many bytes a message can contain before Amazon SQS rejects it. Valid values: An integer from 0 to 900 seconds (15 minutes). The following lists the names, descriptions, and values of the special request parameters that the CreateQueue action uses:ĭelaySeconds – The length of time, in seconds, for which the delivery of all messages in the queue is delayed. fifo suffix.Ī map of attributes with their corresponding values. Valid values: alphanumeric characters, hyphens ( -), and underscores ( _).Ī FIFO queue name must end with the. The following limits apply to this name:Ī queue name can have up to 80 characters. create_queue ( QueueName = 'string', Attributes = ) Parameters :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |