New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dynamodb-items

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

dynamodb-items

### 1. Config Lambda Code

  • 1.0.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

AWS Dynamodb/Firehose Items Storage.

1. Config Lambda Code

const {
    App,
    handlers
} = require('dynamodb-items');

const app = new App('tablePrefix', {
    droppedTtl: 15 * 24 * 60 * 60 * 1000, // 15 days
    firehose: { // optional
        concurrency: 100,
        stream: 'app-items'
    },
    ttl: 365 * 24 * 60 * 60 * 1000 // 1 year
});

exports.dropped = handlers.dropped(app);
exports.firehose = handlers.firehose(app);
exports.get = handlers.get(app);
exports.set = handlers.set(app);

2. Config Lambda Handlers

Name
app-items-dropped

Handler
index.dropped

Size
512 MB

-

Name
app-items-firehose

Handler
index.firehose

Size
512 MB

-

Name
app-items-get

Handler
index.get

Size
256 MB

-

Name
app-items-set

Handler
index.set

Size
256 MB

3. Config Kinesis Firehose

Name
app-items

Lambda Transformer
app-items-firehose

S3 Bucket
app

Prefix
items/dt=!{timestamp:yyyy}-!{timestamp:MM}-!{timestamp:dd}/

Error prefix
items-error/err=!{firehose:error-output-type}/dt=!{timestamp:yyyy}-!{timestamp:MM}-!{timestamp:dd}/

FAQs

Package last updated on 23 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc