Using Amazon SQS with AWS Lambda in the AWS Toolkit for JetBrains - AWS Toolkit for JetBrains

Using Amazon SQS with AWS Lambda in the AWS Toolkit for JetBrains

The following procedure details how to configure Amazon SQS queues as Lambda triggers in the AWS Toolkit for JetBrains.

To configure an Amazon SQS queue as a Lambda triggers
  1. From the AWS Toolkit for JetBrains, expand the AWS Explorer to view your AWS services.

  2. From the AWS Explorer, expand the Amazon SQS service to view a list of your existing queues.

  3. Right-click the queue you want to work with and choose Configure Lambda Trigger.

  4. In the dialog box, from the drop-down menu, choose the Lambda function that you want to trigger.

  5. Choose Configure.

  6. If the Lambda function lacks the necessary IAM permissions for Amazon SQS to run it, the toolkit generates a minimal policy that you can add to the IAM role for the Lambda function.

    Choose Add Policy.

After you configure your queue, you get a status message about the applied changes, including any applicable error messages.