Does sst have this feature? - In the console, you ...
# sst
l
Does sst have this feature? - In the console, you can configure an API Gateway api to send its payload directly to an SQS queue with an SQS proxy (IOW, not using a Lambda to enqueue the message). Is there away to express this in an
sst.Stack
class?
f
Hey @Luke Wyman, are you using the
sst.Api
or
sst.ApiGatewayV1Api
?
l
I'm using
sst.Api
.
f
SST doesn’t have a high level support for it yet. You can try this solution https://github.com/aws/aws-cdk/issues/10497#issuecomment-760125780
This example shows the EventBridge proxy, but I think you can change that to SQS SendMessage proxy.
Let me know if that works for you.
l
Thanks, Frank. I don't desperately need it - I'm just experimenting with all the "Lego pieces" and different ways of fitting them together. I'd probably just go with an API -> Lambda -> SQS -> Lambda solution in real life, given how this works programmatically.
I've created this spikes repo, where I'm working through all the examples in the documentation in the
documentation-examples
folder, and then creating my own experiments as more complex use-cases based on the basics.
f
Yup I opened an issue here https://github.com/serverless-stack/serverless-stack/issues/565 Feel free to come back to this if it becomes a blocker for u