0 votes
1 view
in AWS by (19.2k 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.6k 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:


Welcome to Intellipaat Community. Get your technical queries answered by top developers !