Amazon Simple Queue Service (SQS) | Limits and Restrictions Flashcards
Is Amazon SQS HIPAA-eligible?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
Yes, AWS has expanded its HIPAA compliance program to include Amazon SQS as a HIPAA Eligible Service. If you have an executed Business Associate Agreement (BAA) with AWS, you can use Amazon SQS to build your HIPAA-compliant applications, store messages in transit, and transmit messages—including messages containing protected health information (PHI).
If you already have an executed BAA with AWS, you can start using Amazon SQS right away. If you don’t have a BAA or have other questions about using AWS for your HIPAA-compliant applications, contact us for more information.
Note: If you prefer not to transfer PHI through Amazon SQS (or if you have messages larger than 256 KB), you can alternatively send Amazon SQS message payloads through Amazon S3 using the Amazon SQS Extended Client Library for Java (Amazon S3 is a HIPAA Eligible Service, excluding the use of Amazon S3 Transfer Acceleration). For more information, see Using the Amazon SQS Extended Client Library for Java in the Amazon SQS Developer Guide.
How long can I keep my messages in Amazon SQS message queues?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
Longer message retention provides greater flexibility to allow for longer intervals between message production and consumption.
You can configure the Amazon SQS message retention period to a value from 1 minute to 14 days. The default is 4 days. Once the message retention limit is reached, your messages are automatically deleted.
How do I configure Amazon SQS to support longer message retention?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
To configure the message retention period, set the MessageRetentionPeriod attribute using the console or using the Distributiveness method. Use this attribute to specify the number of seconds a message will be retained in Amazon SQS.
You can use the MessageRetentionPeriod attribute to set the message retention period from 60 seconds (1 minute) to 1,209,600 seconds (14 days). For more information on working with this message attribute, see the Amazon SQS API Reference.
How do I configure the maximum message size for Amazon SQS?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
To configure the maximum message size, use the console or the SetQueueAttributes method to set the MaximumMessageSize attribute. This attribute specifies the limit on bytes that an Amazon SQS message can contain. Set this limit to a value between 1,024 bytes (1 KB), and 262,144 bytes (256 KB). For more information, see Using Amazon SQS Message Attributes in the Amazon SQS Developer Guide.
To send messages larger than 256 KB, use the Amazon SQS Extended Client Library for Java. This library lets you send an Amazon SQS message that contains a reference to a message payload in Amazon S3 that can be as large as 2 GB.
What kind of data can I include in a message?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
Amazon SQS messages can contain up to 256 KB of text data, including XML, JSON and unformatted text. The following Unicode characters are accepted:
For more information, see the XML 1.0 Specification.
How large can Amazon SQS message queues be?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
A single Amazon SQS message queue can contain an unlimited number of messages. However, there is a 120,000 limit for the number of inflight messages for a standard queue and 20,000 for a FIFO queue. Messages are inflight after they have been received from the queue by a consuming component, but have not yet been deleted from the queue.
How many message queues can I create?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
You can create any number of message queues.
Is there a size limit on the name of Amazon SQS message queues?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
Queue names are limited to 80 characters.
Are there restrictions on the names of Amazon SQS message queues?
Limits and Restrictions
Amazon Simple Queue Service (SQS) | Application Integration
You can use alphanumeric characters, hyphens (-), and underscores (_).