sparse-intern-71089
03/01/2020, 3:21 AMminiature-musician-31262
03/01/2020, 3:15 PMaws
package) to send that message — so something like:
const queue = new aws.sqs.Queue("dataqueue");
...
// And then in your POST handler
const sqs = new aws.sdk.SQS();
sqs.sendMessage({
...the properties of the request
});
miniature-musician-31262
03/01/2020, 3:16 PMminiature-musician-31262
03/01/2020, 3:20 PMqueue
resource using .get()
methods (e.g., queue.arn.get()
, etc.), which will allow you to to pass regular strings for the argument to sendMessage
.bitter-zebra-93800
03/01/2020, 9:12 PM