Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (19.1k points)

I have a lambda function that accesses my Postgres db in RDS via VPC. After it queries the db, I want to post a notification to SNS. Because my lambda function exists in my VPC, it cannot access SNS. I have an internet gateway on my VPC. I read through the VPC endpoint documentation and currently, only s3 is supported.

Is there any way to publish to SNS in a lambda function in a VPC?

1 Answer

0 votes
by (44.3k points)

There is no need to set up an Internet Gateway or a NAT because SNS is supporting VPC Endpoints now via AWS PrivateLink.

Check out this blog for more information:

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.2k users

Browse Categories