Testing the Lambda (AWS CLI)

  1. Send five messages to the input queue.
  2. Verify the invocation by retrieving the message from the queue:
aws sqs receive-message 
--queue-url https://queue.amazonaws.com/855923912133/my-output-queue
--max-number-of-messages 5
--profile admin

If successful, you should get zero to five (maximum) messages in a single receive-message call. You may also check CloudWatch logs and verify the logs we printed.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.142.85