Validate arguments for a Javascript.
npm install --save aws-dynamodb-factory-js
const DynamodbFactory = require('aws-dynamodb-factory-js')
const DynamodbFactory = require('aws-dynamodb-factory-js')
let dynamo = DynamodbFactory.raw();
//return new AWS.DynamoDB({ region: 'sa-east-1' })
const DynamodbFactory = require('aws-dynamodb-factory-js')
let dynamo = DynamodbFactory.raw({
options: { ... }
});
//return new AWS.DynamoDB({ ... })
const DynamodbFactory = require('aws-dynamodb-factory-js')
process.env.IS_OFFLINE = true;
let dynamo = DynamodbFactory.raw();
//return new AWS.DynamoDB({ region: "localhost", endpoint: "http://localhost:8000" })
let dynamoCustom = DynamodbFactory.raw({
offlinePort: 3001
});
//return new AWS.DynamoDB({ region: "localhost", endpoint: "http://localhost:3001" })
const DynamodbFactory = require('aws-dynamodb-factory-js')
let dynamo = DynamodbFactory.doc();
//return new AWS.DynamoDB.DocumentClient({ region: 'sa-east-1' })
const DynamodbFactory = require('aws-dynamodb-factory-js')
let dynamo = DynamodbFactory.doc({
options: { ... }
});
//return new AWS.DynamoDB.DocumentClient({ ... })
const DynamodbFactory = require('aws-dynamodb-factory-js')
process.env.IS_OFFLINE = true;
let dynamo = DynamodbFactory.doc();
//return new AWS.DynamoDB.DocumentClient({ region: "localhost", endpoint: "http://localhost:8000" })
let dynamoCustom = DynamodbFactory.doc({
offlinePort: 3001
});
//return new AWS.DynamoDB.DocumentClient({ region: "localhost", endpoint: "http://localhost:3001" })