How to use a Serverless function from Cloudmqtt?

Asked

Viewed 41 times

1

I’m trying to integrate Cloudmqtt Broker with an AWS Node.js serverless function but I can’t find any documentation on how to do it.

The goal is when arriving a message in Broker it trigar a Lambda function.

What I would like to avoid at the moment would be to use the AWS Iot that offers this integration, because I already have it all implemented for another Broker.

Valeus!

  • Hello @Jhessica-Kanda , The call of a lambda function can be via http or using the AWS API. You can expose a lambda using API Gateway, please look at the following link: https://docs.aws.amazon.com/pt_br/apigateway/latest/developerguide/how-to-call-api.html Depending on where your Broker is located (in the same/other VPC, external on the internet, using VPN or Direct Connect) you will have to ensure that it can access lambda function.

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.