Adding a TODO

This commit is contained in:
Ryan Martin 2015-12-30 13:56:19 -05:00
parent db42f0bf9c
commit 7a6a77ba2d

View file

@ -24,6 +24,8 @@ exports.snsSubscribe = function(event, context) {
const allowedProtocols = ['application', 'email', 'email-json', 'http', 'https', 'lambda', 'sms', 'sqs'];
var p = event.ResourceProperties;
if (event.RequestType == 'Delete') {
// TODO: Would be nice to delete the subscription here, which likely requires persisting the
// SubscriptionArn for later lookup.
response.send(event, context, response.SUCCESS);
return;
}