Search code examples
amazon-web-servicesaws-cloudformationamazon-sqs

How to trigger AWS Gluejob through AWS SQS


I am learning about a wonderful tool called AWS Cloudformation and I am having a hard time finding resources to find how to trigger AWS Gluejob via SQS.

I learnt about Glue Triggers from here. How do I trigger a gluejob whenever something is dumped in SQS?

Any help or guidance is appreciated.


Solution

  • There is currently no possibility of SQS triggering a Glue job directly.

    What you could do though, is writing a Lambda function, which gets triggered by your SQS.

    In this Lambda function you could call the Glue SDK to start your Glue Job.