You can’t change it for an existing queue. You can provide this attribute only during queue creation. ‘FifoQueue` - Designates a queue as FIFO. A shorter time period provides better security but results in more calls to KMS which might incur charges after Free Tier. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). ‘KmsDataKeyReusePeriodSeconds` - The length of time, in seconds, for which Amazon SQS can reuse a to encrypt or decrypt messages before calling AWS KMS again. ![]() For more examples, see in the *AWS Key Management Service API Reference*. While the alias of the AWS-managed CMK for Amazon SQS is always `alias/aws/sqs`, the alias of a custom CMK can, for example, be `alias/MyAlias `. ‘KmsMasterKeyId` - The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK. For more information about the visibility timeout, see Visibility Timeout][3 Valid values: An integer from 0 to 43,200 (12 hours). ‘VisibilityTimeout` - The visibility timeout for the queue, in seconds. Similarly, the dead-letter queue of a standard queue must also be a standard queue. The dead-letter queue of a FIFO queue must also be a FIFO queue. 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. ‘deadLetterTargetArn` - The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of `maxReceiveCount` is exceeded. For more information about the redrive policy and dead-letter queues, see Using Amazon SQS Dead-Letter Queues][2 ‘RedrivePolicy` - The string that includes the parameters for the dead-letter queue functionality of the source queue. 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 in the *Amazon IAM User Guide*. 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). ‘DelaySeconds` - The length of time, in seconds, for which the delivery of all messages in the queue is delayed. The following lists the names, descriptions, and values of the special request parameters that the ‘CreateQueue` action uses: : /AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-moving : /AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html : /AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-nameĪ map of attributes with their corresponding values. For more information, see see in the *Amazon Simple Queue Service Developer Guide*. Cross-account permissions don’t apply to this action. For example, a parameter list with two elements looks like this: Values of `n` are integers starting from 1. These lists are specified using the ‘param.n` notation. If the queue name, attribute names, or attribute values don’t match an existing queue, ‘CreateQueue` returns an error. If you provide the name of an existing queue along with the exact names and values of all the queue’s attributes, ‘CreateQueue` returns the queue URL for the existing queue. ` GetQueueUrl ` requires only the `QueueName` parameter. To get the queue URL, use the ‘ GetQueueUrl ` action. To successfully create a new queue, you must provide a queue name that adheres to the and is unique within the scope of your queues. If you delete a queue, you must wait at least 60 seconds before creating a queue with the same name. If you don’t provide a value for an attribute, the queue is created with the default value for the attribute. For more information, see in the *Amazon Simple Queue Service Developer Guide*. You must either create a new FIFO queue for your application or delete your existing standard queue and recreate it as a FIFO queue. You can’t change the queue type after you create it and you can’t convert an existing standard queue into a FIFO queue. ![]() If you don’t specify the ‘FifoQueue` attribute, Amazon SQS creates a standard queue. You can pass one or more attributes in the request.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |