Question: How to create Amazon SQS Long Polling?
My target is made the cost lower.
About Amazon SQS Long Polling: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html
I tried to add ReceiveMessageWaitTimeSeconds
MyQueue: Type: "AWS::SQS::Queue" Properties: QueueName: MyQueue ReceiveMessageWaitTimeSeconds: 20
And it has an effect on the settings:
Receive Message Wait Time: 20 seconds
But I still have a lot of NumberOfEmptyReceives: https://prnt.sc/lv87gz .