I might got it wrong, but does the following post means that it is now possible to send SNS messages from VPC lambda without setting up NAT?
If so, is there any serverless.yml examples file to show how its done?
I might got it wrong, but does the following post means that it is now possible to send SNS messages from VPC lambda without setting up NAT?
If so, is there any serverless.yml examples file to show how its done?
It appears so based upon the link. It looks like SNS has joined the family of VPC endpoints which before only included S3 and DynamoDB. And yes that will eliminate the IGW and NAT if that is the only public service you need access to. As for implementation, you will need a CF Resource in your serverless.yml. With that said, I didn’t find any Template Reference on line to it (e.g., AWS::SNS::VPCEndpoint). But I didn’t look very hard