我尝试通过boto3 (Python)访问AWS中的dynamodb。让这个在我的本地机器上工作。正如我在AWS运行中所理解的,它只是使用IAM角色来获得访问。但不起作用。
Lambda execution failed with status 200 due to customer function error: An error occurred (AccessDeniedException) when calling the Scan operation:
User: arn:aws:sts::021517822274:assumed-role/CodeStar-tt-api
当我在tableX上删除一个项目时,我希望将该项目准确地复制到tableY中。
到目前为止,我的代码如下:
var dynamodb = require("aws-sdk/clients/dynamodb");
var documentClient = new dynamodb.DocumentClient();
exports.handler = async (event, context) => {
for (const streamedItem of event.Records) {
if (streamedItem.eventName ===
在AWS的研究中,我在网上遇到了这个问题,我想知道是否有人能给我更多的启发:
公司在AWS中安装了一个与DynamoDB交互的应用程序。需要在DynamoDB表中修改项时,立即向关联应用程序输入项。如何才能做到这一点?从下面的选择中选择两个答案。
A. Setup CloudWatch to monitor the DynamoDB table for changes. Then trigger a Lambda function to send the changes to the application.
B. Setup CloudWatch logs to monitor th