Skip to content

dakota002/arc-plugin-sandbox-stream

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%