cfn_lambda_set_permissions 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.