Skip to content

evefonwu/sqs-event-source-to-lambda

Repository files navigation

SQS Event Source to Lambda Function Demo

Demo of Amazon Simple Queue Service (SQS) queue as event source to an AWS Lambda function.

Steps

Requirements

Requirements for any CDK app, in general, check out: Getting Started with the AWS CDK

Specific to CDK apps in Python: Working with the AWS CDK in Python

Clone the repository

cd into the project

Create a virtual environment with venv

python3 -m venv .venv

Activate venv environment

source .venv/bin/activate

Install package dependencies

This repo requires aws-cdk-lib 2.137.0. See requirements.txt for package dependencies.

Install into the venv virtual environment for this project:

pip install -r requirements.txt

Deploy to AWS account/region

Initiate deploying to the default AWS account/region configured with the AWS CLI

cdk deploy

Blog post and Resource links:

EDA Messaging: SQS Event Source to Lambda Function Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published