Skip to content

chrscole/dynamodb_jssdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon DynamoDB JavaScript SDK v3 code examples

The code examples in this directory demonstrate how to work with Amazon DynamoDB using the AWS SDK for JavaScript version 3 (v3).

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multiregion, multimaster, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications.

Code examples

This is a workspace where you can find the following AWS SDK for JavaScript version 3 (v3) Amazon DynamoDB examples:

Scenario examples

Scenario examples using PartiQL

API Examples - DynamoDB

API Examples - DynamoDB using PartiQL

Note: All code examples are written in ECMAscript 6 (ES6). For guidelines on converting to CommonJS, see JavaScript ES6/CommonJS syntax.

Getting started

  1. Clone the AWS Code Samples repo to your local environment. See the Github documentation for instructions.

  2. Install the dependencies listed in the package.json.

Note: These include the client modules for the AWS services required in these example, which are @aws-sdk/client-dynamodb, @aws-sdk/lib-dynamodb.

npm install node -g
cd javascriptv3/example_code/dynamodb
npm install
  1. In your text editor, update user variables specified in the Inputs section of the sample file.

  2. Run sample code:

cd src
node [example name].js // For example, node ddb_batchgetitem.js

Unit tests

For more information see, the README.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published