Terminal
Terminal/Skill
Wires a Lambda function to a DynamoDB table with an IAM execution role, read and write permissions, and stream event processing.
By Amazon Web Services
Works with
npx skills add aws/agent-toolkit-for-aws --skill connecting-lambda-to-dynamodbDomain expertise for connecting AWS Lambda functions to DynamoDB tables, including IAM execution role creation, function deployment, DynamoDB stream configuration, and event source mapping setup.
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.
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.
Check the IAM role has AWSLambdaDynamoDBExecutionRole attached and the trust
policy allows Lambda to assume it.
Increase the timeout setting or adjust the batch size in the event source mapping.