Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arc-plugin-sandbox-stream

This plugin enables developers to use DynamoDB streams locally in their arc or enhance sandbox environment

Note you'll need to running DynamoDB Local and have it configured in architect, please refer to my guide.

v1.1.0 - Breaking change

Previous versions of this plugin invoked the Stream lambda passing data.Records as the payload.

From v1.1.0 onwards, the stream function is now invoked passing the full object returned by AWS.DynamoDBStreams.getRecords. Which will return similar to:

{
  "Records": [...],
  "NextShardIterator": "arn:aws:dynamodb:ddblocal:000000000000:table/...."
}

Setup

1. Add the dependency to your project

npm install @hicksy/arc-plugin-sandbox-stream

2. Configure your project to use @tables-streams in .arc file

@tables
example
  pk *String
  sk **String

@tables-streams
example

3. Add the plugin to arc config

@plugins
hicksy/arc-plugin-sandbox-stream

About

Architect plugin that adds DynamoDB Streams support to the arc sandbox.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages