Fortinet black logo

AWS Administration Guide

Setting up the DynamoDB stream trigger

Copy Link
Copy Doc ID 9e3b59dc-ba0b-11e9-a989-00505692583a:28476
Download PDF

Setting up the DynamoDB stream trigger

You must add a trigger to the DynamoDB table created in Setting up the DynamoDB table. This trigger is the key that causes the Lambda function to generate a full IP block list to a static file in the S3 bucket.

The following describes how to create a trigger on a DynamoDB table

  1. In DynamoDB, click the table to toggle on its detail window.
  2. On the Triggers tab, click Create Trigger, then Existing Lambda function from the dropdown list.
  3. From the Function dropdown list, select the Lambda function created in Creating the Lambda function.
  4. Leave the Batch size value at its default, which is normally 100.
  5. Select the Enable trigger checkbox.
  6. Click Create.

At this point, installation is complete, although the AWS CloudWatch and GuardDuty services need additional configuration to work with the Lambda function.

Setting up the DynamoDB stream trigger

You must add a trigger to the DynamoDB table created in Setting up the DynamoDB table. This trigger is the key that causes the Lambda function to generate a full IP block list to a static file in the S3 bucket.

The following describes how to create a trigger on a DynamoDB table

  1. In DynamoDB, click the table to toggle on its detail window.
  2. On the Triggers tab, click Create Trigger, then Existing Lambda function from the dropdown list.
  3. From the Function dropdown list, select the Lambda function created in Creating the Lambda function.
  4. Leave the Batch size value at its default, which is normally 100.
  5. Select the Enable trigger checkbox.
  6. Click Create.

At this point, installation is complete, although the AWS CloudWatch and GuardDuty services need additional configuration to work with the Lambda function.