Skip to content

Connect LF with SQS Q

0

Is there any documentation (with an example) on how to call an SQS Q from a LF to post msgs? From the command line and with SDK please.

2 Answers
1

Hello.

If you want to use SQS for Lambda triggers, the contents of the following document will be helpful.
https://docs.aws.amazon.com/lambda/latest/dg/with-sqs-example.html

If you want to send a message from Lambda to an SQS queue, the following document will be helpful.
The sample described in the document below is not Lambda code, but it describes how to send a message using the "send_message" API.
You can use it by making it run within your Lambda handler.
https://docs.aws.amazon.com/code-library/latest/ug/python_3_sqs_code_examples.html

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

1

Hi,

You have a full step-by-step sample to post SQS messages from Lamda with this article: https://code.likeagirl.io/guide-to-sending-messages-to-an-sqs-queue-with-lambda-758cf782cb83

Best,

Didier

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Thanks guys. this is helpful, but I wish I could get something in javascript

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.