AWS DynamoDB

AWS DynamoDB sinks items to a DynamoDB table.

The sink supports sinking multiple items from the same event to a table.

Interpretation Methods

The sink supports these interpretation methods:

  • object (array)

Settings

FieldTypeDescriptionRequired
tablestringThe DynamoDB table that items are written to.Yes
keystringRetrieves a value from an object that contains one or more items to be written to the DynamoDB table.Yes

Use Cases

Writing Multiple Items from a Single Object

AWS emphasizes single-table design for DynamoDB and there are cases when it is preferable to write multiple items to a table from a single object. This can be achieved multiple ways, but the simplest is to create an array within the object containing the items that will be written to the table using nested keys and the copy processor.