Lambda custom function to add permissions for SNS Lambda event sources within a cfn template.
Upload the lambdasetpermissionfunction.zip and lambdasnsprocessfunction.zip to an s3 bucket and launch the sns_add_permissions.json template.
Lambda custom resource to set permissions on other lambda functions
JavaScript