Creating a Flow with S3 Bucket Event Lambda Trigger

Note: The information in this section is applicable for an app executable only.

The S3 Bucket Event Lambda trigger allows you to create a flow using the operations or events that are performed on an S3 bucket trigger, a Lambda function.

Note: Creating a new event or updating an existing event in the S3 Bucket Event Lambda trigger and re-pushing the app deletes existing Events on AWS S3.

To create a flow with the S3 Bucket Event Lambda trigger:

    Procedure
  1. Create an app in Flogo.
  2. Click the app name on the apps page to open its page.
  3. Click Create a Flow.
    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 S3 Bucket Event Lambda Trigger.

  8. Provide the bucket name, event name, and the list of events to be performed.

  9. Provide any prefix or suffix object filters.

  10. Click Continue.
    A flow beginning with the S3 Bucket Event Lambda trigger is created.
  11. Click Copy schema or Just add the trigger.
  12. Click the S3 Bucket Event Lambda trigger tile and configure its properties.
  13. Create a flow containing the Business logic of the Lambda function that you want to trigger using the S3 Bucket Event Lambda trigger.
What to do next Deploy the flow on AWS. For instructions, see Deploying a Flow as a Lambda Function on AWS.