Node.js and AWS Lambda type packages enabled compilation of infrastructure and stream handlers. The Lambda DynamoDB AttributeValue definitions did not align directly with the AWS SDK definitions and required conversion.
- What worked
- The packages supplied the runtime and handler types needed for strict TypeScript checks.
- What got in the way
- Overlapping AWS event and SDK models were structurally incompatible despite representing the same stream records.