AWS Toolkit for JetBrains
User Guide

Running (Invoking) the Remote Version of an AWS Lambda Function by Using the AWS Toolkit for JetBrains

A remote version of an AWS Lambda function is a function whose source code already exists inside of the Lambda service for an AWS account.

To complete this procedure, you must first install the AWS Toolkit for JetBrains and, if you haven't yet, connect to an AWS account for the first time. Then with IntelliJ IDEA, PyCharm, WebStorm, or JetBrains Rider already running, do the following.

  1. Open AWS Explorer, if it isn't already open. If you need to switch to a different AWS Region that contains the function, do that now.

  2. Expand Lambda, and confirm that the name of the function is listed. If it is, skip ahead to step 3 in this procedure.

    If the name of the function isn't listed, create the Lambda function that you want to run (invoke), if you have not done so already.

    If you created the function as part of an AWS serverless application, you must also deploy that application.

    If you created the function by creating a code file that implements a function handler for Java, Python, Node.js, or C#, then in the code file, choose the Lambda icon next to the function handler. Then choose Create new AWS Lambda. Complete the Create Function dialog box, and then choose Create Function.

  3. With Lambda already expanded in AWS Explorer, right-click the name of the function, and then choose Run '[Remote]'.

    
        Running the remote version of a Lambda function by starting from AWS
          Explorer
  4. Complete the Edit configuration dialog box if it is displayed, and then choose Run. (If the Edit configuration dialog box isn't displayed and you want to change the existing configuration, first change its configuration, and then repeat this procedure starting from step 3. If the configuration details are missing, expand Templates, AWS Lambda. Then choose Remote, choose OK, and then repeat this procedure from the beginning.) Results are displayed in the Run tool window.