Socket
Socket
Sign inDemoInstall

dynamodb-items

Package Overview
Dependencies
54
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dynamodb-items

### 1. Config Lambda Code


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
98.1 MB
Created
Weekly downloads
 

Readme

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

Last updated on 23 Dec 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc