Using serverless framework: Very good blog with examples emailUsersWhenJobComplete: handler: src/emailUsersWhenJobComplete.handler events: – stream: type: dynamodb arn: ${construct:batchJobs.tableStreamArn} filterPatterns: –
Author: Yvonne Lu
Cloudformation issues encountered
The event source and function provided mapping already exists. Please update or delete the existing mapping with UUID Add an
Lambda layer
AWS blank nodejs lambda lambda layer documentation A Lambda layer is a .zip file archive that contains supplementary code or
Accepting API keys as a query string in Amazon API Gateway
Amazon blog This blog explains how to build an API Gateway REST API that temporarily accepts API keys as query
Accessing Local Devices through Browser
Chrome – WebRTC media-devices //Query Media Devices async function getConnectedDevices(type) { const devices = await navigator.mediaDevices.enumerateDevices(); return devices.filter(device => device.kind
AWS Firehose to S3 Prefix
https://github.com/aws-samples/aws-blog-firehose-custom-prefixes-for-s3-objects Destination configuration default Intermediate S3 prefix (Optional) To use the default prefix for Amazon S3 objects, leave this option
nodejs async examples
Calling async function from sync: async function wait() { await new Promise(resolve => setTimeout(resolve, 1000)); return 10; } function f()
Twilio Programmable Voice
Voice Insights Get Conference participants from conference insights curl -G https://insights.twilio.com/v1/Conferences/{{conf sid}}/Participants -u accountsid:token Voice SDK connectivity requirements https://www.twilio.com/docs/voice/sdks/network-connectivity-requirements#signalling-connectivity-requirements “Voice
Twilio Migration Conversation API
Replacing the chat widget for 2.0: Example webchat REACT app Another webchat UI sample Get Started with Flex Conversations Handle
AWS Stream from DDB to Datalake
Streaming Amazon DynamoDB data into a centralized data lake We use an AWS Key Management Service (AWS KMS) key for server-side encryption