Details found at zhenkai.xyz blog. Will be used together with Terraform to provision the whole application.
Zip your code and upload to lambda. Alternatively, copy and paste the code into Cloud9. Remember to attach the right permissions to your lambda function.
Zhen Kai @ https://zhenkai.xyz
1.0.0
Refer to https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SNS.html#publish-property for further details on the AWS Javascript SDK.