简体   繁体   English

如何使用无服务器 API 结构 (node.js) 在本地计算机上运行 dynamo DB?

[英]How can I run dynamo DB on my local machine with serverless API structure(node js)?

I just want to run my serverless apis on local... how can I achieve that...do I need to run dynamoDB locally??我只想在本地运行我的无服务器 apis...我怎样才能实现...我需要在本地运行 dynamoDB 吗? OR we can achieve this without configuring Dynamo on local!!或者我们可以在不在本地配置 Dynamo 的情况下实现这一目标!

I was trying with dynamo db local plugin.我正在尝试使用 dynamo db 本地插件。 . . . . but I want to run dynamo on AWS console...but my serverless apis on my local machine但我想在 AWS 控制台上运行 dynamo...但是我的无服务器 api 在我的本地机器上

You can use environment variables to specify the AWS access key and secret key that Local should use to connect to the DynamoDB service on AWS.您可以使用环境变量来指定 Local 应该用来连接到 AWS 上的 DynamoDB 服务的 AWS 访问密钥和密钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当键不是 Node.js 和 typescript 的分区或排序键时,如何从 dynamo db 过滤数据? - How to filter the data from dynamo db when the key is not a partition or Sort key with Node.js and typescript? 如何使用无服务器框架通过 AWS API 网关在 Node.js 中编写的 AWS Lambda function 上返回错误? - How do I return errors on an AWS Lambda function written in Node.js through the AWS API Gateway using the Serverless framework? AWS Dynamo DB - 如何将 TTL 设置为默认值 7 天 - AWS Dynamo DB - How can I set the TTL to a default value of 7 days 我如何在无服务器中添加 http api 阶段 - how i can add a http api stage in serverless 如何将 dynamo db 与 laravel 一起使用? - how to use dynamo db with laravel? 第一次如何为 dynamo db 设置 java? - How to setup java for dynamo db for first time? 通过节点 ts 将用户输入传递给 dynamo DB 是否安全 - Is it safe to pass user input to dynamo DB through node ts 如何编写允许我通过 Powershell 从本地计算机复制到节点的命令 - How do I write a command that allows me to copy from local machine to a node via Powershell 如何在不更改代码库的情况下处理 aws dynamo db 400 KB 记录限制 - How to handle aws dynamo db 400 KB record limit without changing my codebase Dynamo DB(计算属性) - Dynamo DB (Calculated Attrbutes)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM