Insérer des données de Lambda à DynamoDB

const params = {
  TableName : 'TableName',
  Item: {
     HashKey: 'haskey',
     NumAttribute: 1,
     BoolAttribute: true,
     ListAttribute: [1, 'two', false],
     MapAttribute: { foo: 'bar'},
     NullAttribute: null
  }
};

const documentClient = new AWS.DynamoDB.DocumentClient();

await documentClient.put(params).promise()
Fikler