Score:0

Sending push notification to s3 origin website from lambda

cn flag

I want to send a websockets notification from lambda function to clients, on a website hosted via s3 origin with cloudfront.

Could someone help me with this, please? Thanks.

cn flag
Can you clarify what problem you're trying to solve? Your question is a little unclear to me.
NaNa avatar
cn flag
when a record in a table in database update, i want to send push notification to client site. My frontend is uploaded on s3 and used cloudfornt distribution and my backend is lambda. I use aws rds for database. Thanks
cn flag
You need to look at websockets. Here's an example: https://github.com/aws-samples/simple-websockets-chat-app You'll need to look at how to use CloudFront with multiple origins to route the requests to the Lambda.
NaNa avatar
cn flag
@shearn89 Thanks for your kind help and I really appreciate it.
Score:0
cn flag

You need to look at websockets. Here's an example: github.com/aws-samples/simple-websockets-chat-app You'll need to look at how to use CloudFront with multiple origins to route the requests to the Lambda.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.