Setup AWS Lambda Function as a Kinesis stream consumer. The stream will trigger the Lambda Function to run for each record sent to the Kinesis stream.
Lee Gilliam @ Carova Labs
August 18, 2022
Use the Serverless Framework to deploy a scheduled cronjob Lambdafunction to Amazon Web Service. The scheduled Lambdafunction in the template below will run every 10 minutes.
Create SQS Queue that received messages from SNS Topics through Subscribing your SQS Queue to the SNS Topic with an SQS Queue Policy. Bonus: Included is an AWS Lambda Function that is triggered by the SQS Queue.
August 03, 2022
Create a AWS SNS Topic with your Serverless YAML file. AWS SNS Topics are used to deliver events throughout the AWS environment and to external systems.
Setup ES Build for your Serverless Project. Build your Serverless Lambda Functions using ES Build for smaller packaged services and quicker builds.
Add a Lambda Layer to your AWS Lambda Function through your Severless Yaml file.
Serverless template to create an AWS Lambda Function connected to an existing API Gateway API. The API Endpoint has an example of a dynamic path variable and allowed querystrings.
Serverless template to create a SQS queue and SQS DLQ in AWS. The SQS queues reference each other and errored events will be sent to the SQS DLQ.
Example of getting data from S3 and a stream function to read the data into a useable format.
Configure and deploy a custom AWS VPC using your Serverless YAML template. The VPC can be reference in other AWS CloudFormation Stacks by automatically output variables.
Luxon DateTime common examples. Date objects for now, adding to a date, getting local DateTime string, DateTime time difference
Export AWS CloudFormation Stack variables so that other AWS CloudFormation Stacks can reference them. Learn how to export a DynamoDB Table name, arn, and streamArn.
Create and Deploy an AWS API Gateway API using your Serverless YAML file. Deploy your AWS API Gateway API to a specified stage on the initial deployment.
Create a DynamoDB Table with your Serverless YAML file. DynamoDB Table with a Time to Live (TTL) attribute and a Global Secondary Index (GSI) to query efficiently by dates.
Create an AWS Timestream Database and Table in your Serverless YAML file. AWS Timestream is for IoT events and any data that needs to be tied to a specific point in time.
Configure AWS DynamoDB Streams to trigger an AWS Lambda Function. Include a filter pattern to only trigger on Modify events.
August 02, 2022
Serverless template to reference other Cloudformation Stack Output Variables. Use external Cloudformation Stack Variables from other Stacks.
Render a list of items in the UI using an array.map() in React. You can render items from an array in React in a few different ways.
August 01, 2022