New:Socket for Asana Is Now Available.Learn more
Get Started

@hicksy/arc-plugin-sandbox-stream

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hicksy/arc-plugin-sandbox-stream

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

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
1
-90.91%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 21 Jan 2025

Related posts