Creating a Flow with AWS API Gateway Lambda Trigger

The AWS API Gateway Lambda trigger allows you to invoke Lambda function as REST APIs. A flow created in an app using the AWS API Gateway trigger is deployed as a Lambda function.

Refer to the "AWS API Gateway Lambda Trigger" section in the TIBCO Flogo® Enterprise Activities and Triggers Guide for details on the trigger.

To create a flow with the AWS API Gateway Lambda trigger:

    Procedure
  1. Create an app in Flogo.
  2. Click the app name on the Apps page to open its page.
  3. Click the Create a Flow button.
    The Create a Flow dialog box opens.
  4. Enter a name for the flow in the Flow Name text box.
    Flow names within an app must be unique. An app cannot contain two flows with the same name.
  5. Optionally, enter a brief description of what the flow does in the Description text box and click Next.
  6. Click Start with a trigger.
  7. Under Choose a trigger to add, click AWS API Gateway Lambda Trigger.

  8. Provide the method, resource path, and JSON schema for the operation.

  9. Click Continue.
    A flow beginning with the AWSAPIGatewayLambda trigger gets created.
  10. Click Copy schema or Just add the trigger.
  11. Click the AWSAPIGatewayLambda trigger tile and configure its properties. See the "AWS API Gateway Lambda Trigger" section in the TIBCO Flogo® Enterprise Activities and Triggers Guide for details.
What to do next Deploy the flow on AWS. For instructions on how to do so, see Deploying a Flow as a Lambda Function on AWS.