bitter-zebra-93800
03/01/2020, 3:21 AMconst queue = new aws.sqs.Queue("dataqueue");
miniature-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
});
queue
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