
Connecting Lambda To Dynamodb
Step-by-step setup that wires a Lambda function to DynamoDB, covering IAM roles, streams, and event source mapping.
- skills.sh installs
- 7.1K
- GitHub stars
- 3.5K
- last updated
- Aug 21, 2026
What it does
- Covers the full integration: execution role creation, function deployment, stream enablement, and event source mapping setup
- Includes a reference procedure for the connection steps plus troubleshooting for untriggered functions, permission errors, and timeouts
- Checks that the event source mapping is active, the stream view type is set, and the role has
AWSLambdaDynamoDBExecutionRolewith a trust policy for Lambda - Designed for teams building event-driven serverless pipelines that process DynamoDB stream records
Install
$ npx -y skills add aws/agent-toolkit-for-aws --skill connecting-lambda-to-dynamodb -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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.
Details
- Repository
- github.com/aws/agent-toolkit-for-aws
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- May 16, 2026
More from aws/agent-toolkit-for-aws
All 54- Configuring Vpc Endpoints For Private Aws Service Access7.1K
- Debugging Lambda Timeouts7.1K
- Setting Up Cloudwatch Alarm Notifications7K
- Launching Ec2 Instance With Best Practices7K
- Troubleshooting S3 Files7K
- Creating Api Gateway Stage7K
- Setting Up Ec2 Instance Profiles6.9K
- Signing In To Aws6.9K
- Creating Production Vpc Multi Az6.8K
- Aws Transform6.8K
- Connecting Vpcs With Peering6.8K
- Enabling Lambda Vpc Internet Access6.8K
- Exporting Rds To S36.7K
- Setting Up Cloudtrail Multi Region6.7K
- Creating Amazon Aurora Db Cluster With Instances6.7K
- Troubleshooting Efs6.6K
- Routing Traffic With Route53 And Cloudfront6.5K
- Aws Lambda Durable Functions6.5K
- Aws Lambda Managed Instances6.4K
- Aws Cleanrooms6.4K
- Aws Lambda Microvms6.4K
- Amazon Aurora Postgresql6.3K
- Querying Aws S36.2K
- Amazon Opensearch Service6.2K
Similar to Connecting Lambda To Dynamodb
More DevOps & Cloud
aws-lambda-functionsSkillaj-geddes/useful-ai-prompts621 installsServerless function guide for AWS Lambda covering event triggers, IAM permissions, layers, and environment setup.
aws-lambdaSkillawslabs/agent-plugins262 installsServerless application guidance for designing, building, deploying, and debugging AWS Lambda functions and event-driven systems.
lambdaSkillitsmostafa/aws-agent-skills179 installsServerless compute skill covering function creation, triggers, event source mappings, layers, cold starts, and invocation debugging.
aws-serverlessSkilldavila7/claude-code-templates334 installsProduction-ready AWS serverless patterns for Lambda, API Gateway, DynamoDB, and SQS/SNS event flows.
aws-lambda-durable-functionsSkillaws/agent-toolkit-for-aws6.5K installsBuild resilient multi-step AWS Lambda workflows with checkpointed replay, waits, callbacks, and saga compensation.
serverless-edaPluginzxkane/aws-skills379 starsAWS serverless and event-driven architecture best practices based on Well-Architected Framework with MCP servers for SAM, Lambda, Step Functions, and messaging