[AWS CDK] How to create SNS Lambda subscriptions with AWS CDK and TypeScript (Deep Dive)

preview_player
Показать описание
In this video, I explain how you can create AWS SNS topics using AWS CDK (or Cloud Development Kit) and handle messages to the SNS topic using AWS Lambda. We will use CDK with TypeScript to define and manage all the resources in AWS.

======
======

Further, we take a look at the different message filtering policies available in AWS SNS and how you can leverage this feature to easily route messages to the correct AWS Lambda function without having to write ugly if...else logic all over the place.

What is AWS SNS?
AWS SNS (Simple Notification Service) is a fully managed messaging service provided by Amazon Web Services. It enables you to send and receive notifications, or messages, to and from various endpoints, such as mobile devices, email addresses, and Amazon SQS (Simple Queue Service) queues. SNS simplifies the process of building scalable, event-driven architectures by allowing you to decouple the sender and receiver systems. With SNS, you can easily send notifications to multiple subscribers, ensuring that the right information reaches the right recipients at the right time.

What is AWS Lambda?
AWS Lambda is a serverless compute service provided by Amazon Web Services. It allows you to run your code without provisioning or managing servers. With Lambda, you can upload your code and define triggers that automatically execute your code in response to events from various AWS services, such as SNS, S3, and API Gateway. Lambda functions scale automatically to handle the incoming workload, and you only pay for the actual compute time consumed by your code.

What is AWS CDK?
AWS CDK (Cloud Development Kit) is an open-source software development framework provided by Amazon Web Services. It enables developers to define cloud infrastructure resources using familiar programming languages such as TypeScript, Python, and Java, instead of using vanilla CloudFormation templates.

Рекомендации по теме
Комментарии
Автор

thanks bro... my first task in my current company.

RamKumar-subn
join shbcf.ru