connecting-lambda-to-dynamodb

от aws

Подключает функцию AWS Lambda к DynamoDB с ролями IAM, сопоставлением источников событий потока и правами чтения/записи. Используйте при настройке Lambda-DynamoDB…

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill connecting-lambda-to-dynamodb

Connecting Lambda to DynamoDB

Overview

Domain expertise for connecting AWS Lambda functions to DynamoDB tables, including IAM execution role creation, function deployment, DynamoDB stream configuration, and event source mapping setup.

Connect a Lambda function to DynamoDB

To set up end-to-end Lambda-DynamoDB integration with IAM roles, streams, and event source mapping, follow the procedure exactly. See Lambda-DynamoDB connection procedure.

Troubleshooting

Lambda function not triggering

Verify the event source mapping is active, DynamoDB streams are enabled with the correct view type, and the execution role has proper permissions. See the full procedure for details.

Permission denied errors

Check the IAM role has AWSLambdaDynamoDBExecutionRole attached and the trust policy allows Lambda to assume it.

Function timeout issues

Increase the timeout setting or adjust the batch size in the event source mapping.

Больше skills от aws

agents-build
aws
Используется для расширения существующего агентного проекта с помощью памяти, интеграции приложений, VPC, мультиагентности, миграции, модели, браузера, интерпретатора кода, платежей или ресурсов…
official
agents-connect
aws
Используйте при подключении вашего агента к внешним API, инструментам или сервисам через Gateway, а также при ограничении доступа к инструментам с помощью политик Cedar. Обрабатывает настройку шлюза, целе…
official
agents-debug
aws
Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes.…
official
agents-deploy
aws
Используйте при развертывании вашего агента в AWS или при сбое развертывания. Обрабатывает предварительную проверку, диагностику ошибок CDK/IAM/квот, управление версиями, откат,…
official
agents-get-started
aws
Используется, когда разработчик хочет создать новый агентный проект или начать работу с AgentCore. Обрабатывает выбор фреймворка, создание каркаса проекта, первый деплой и…
official
agents-harden
aws
Используйте при подготовке агента к продакшену — разграничение прав IAM, входящая аутентификация (JWT, SigV4), управление секретами, оптимизация холодного старта, жизненный цикл сессий, rate…
official
agents-pay
aws
Use when THIS agent needs to pay for x402-protected content at runtime: hitting a paywall mid-task, settling it via AgentCore Payments, and applying…
official
amazon-aurora-mysql
aws
Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query).…
official