1/17/2024 0 Comments Aws sqs redrive![]() For more information, see How Does the Data Key Reuse Period Work?. 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 data key to encrypt or decrypt messages before calling AWS KMS again. For more examples, see KeyId 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. The following attributes apply only to server-side-encryption: 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 in the Amazon Simple Queue Service Developer Guide. 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 in the Amazon Simple Queue Service Developer Guide. RedrivePolicy – The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. 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 AWS IAM Policies in the Amazon IAM User Guide. Valid values: An integer representing seconds, from 60 (1 minute) to 1,209,600 (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) up 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 (15 minutes). The following lists the names, descriptions, and values of the special request parameters that the SetQueueAttributes action uses: DelaySeconds – The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Queue URLs and names are case-sensitiveĪ map of attributes to set. The URL of the Amazon SQS queue whose attributes are set. To remove the ability to change queue permissions, you must deny permission to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy Options For more information, see Grant cross-account permissions to a role and a user name in the Amazon Simple Queue Service Developer Guide. Cross-account permissions don't apply to this action. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. In the future, new attributes might be added. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes. 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. Sets the value of one or more queue attributes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |