Description
AWS::SQS::Queue identifies a queue in the asset inventory.
Potential impact
Without a record of the consumers and failed-message destination, it can be hard to recover undelivered work.
Remediation
Record the owner, producers and consumers. Check queue access, retention, encryption and the redrive policy.
Examples
The first queue uses default SSE-SQS encryption. The second uses SSE-KMS for new messages. Verify that producers and consumers have the key permissions their operations need.
Before
yaml
Resources:
MyQueue:
Type: AWS::SQS::Queue
Properties:
QueueName: SampleQueue
After
yaml
Resources:
MyQueue:
Type: AWS::SQS::Queue
Properties:
QueueName: SampleQueue
KmsMasterKeyId: alias/aws/sqs