잡다한 지식
[Node] Dynamo DB 사용법
Dynamo DB 코드 사용법 [설치] npm i @aws-sdk/client-dynamodbnpm i @aws-sdk/lib-dynamodb [코드]const { DynamoDBClient } = require('@aws-sdk/client-dynamodb');const { DynamoDBDocumentClient, PutCommand, QueryCommand, GetCommand, DeleteCommand,} = require('@aws-sdk/lib-dynamodb');const client = new DynamoDBClient({ region: '사용하는 지역', credentials: { accessKeyId: process.env.DYNAMODB_ACCESS_KEY, s..
2024. 6. 20. 15:33