{"_id":"serverless-plugin-existing-s3","_rev":"13-0428a6dbf87dbd09feec03c8248d2d3d","name":"serverless-plugin-existing-s3","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","dist-tags":{"latest":"2.4.0"},"versions":{"2.0.2":{"name":"serverless-plugin-existing-s3","version":"2.0.2","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{},"maintainers":[{"name":"Matt Filion","email":"matt.filion@gmail.com"}],"files":["index.js","README.md","LICENSE","package.json","Permissions.js","S3.js","Transformer.js"],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"gitHead":"ac4cae688db749731026d846294d883094387583","_id":"serverless-plugin-existing-s3@2.0.2","_npmVersion":"5.0.3","_nodeVersion":"6.9.5","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-ImKta4DWpQgvSGW3N3zR5YjNf0pxLji6p8nmUn+HdQrk7+/LAAXCuWGxJV1sByO3Wt8eMFZ1h9iYdZSLpyclRA==","shasum":"0aabbb411bdd23e5dcc764fa87a41e48f4e93e01","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnS9lsWQ2iIDq6nh3iBFC9/Q09ERcO4Ggg7/7WDq4m3AiEAk+gFgQ7HRrk4FnwJKHWLbgDtoSsreDLZxSLdUQYyV44="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3-2.0.2.tgz_1497468551699_0.28013245947659016"},"directories":{}},"2.0.1":{"name":"serverless-plugin-existing-s3","version":"2.0.1","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"files":["index.js","README.md","LICENSE","package.json","Permissions.js","S3.js","Transformer.js"],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"gitHead":"cc774c1a23989a5c0539bc945d35bb1d42f8a569","_id":"serverless-plugin-existing-s3@2.0.1","_npmVersion":"5.3.0","_nodeVersion":"6.9.4","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-LgLGXd0AnCxAN7JzibYx5uMeSEXg/KDGQo2p9VndYbnm0h1oKnP1d50dMEvMs0dwxnuYJZ+Fo1A3SeSWBThAGA==","shasum":"2abc144e856b99c7cbdc30fe4fe274fe79d23bc3","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj+3UKGeLUSoi14SQRPunfRwNKPcRTwg4a5syqPCX8RwIgcONhaZVdZsZnHdPxCx8XyvEqKe5sqs11n6Jg3cYQE9g="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3-2.0.1.tgz_1501619367904_0.6355340334121138"},"directories":{}},"2.0.3":{"name":"serverless-plugin-existing-s3","version":"2.0.3","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"files":["index.js","README.md","LICENSE","package.json","Permissions.js","S3.js","Transformer.js"],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"gitHead":"cc774c1a23989a5c0539bc945d35bb1d42f8a569","_id":"serverless-plugin-existing-s3@2.0.3","_npmVersion":"5.3.0","_nodeVersion":"6.9.4","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-cTxZp/Ld7uICQH4+lTB/bwsRg7AlPYlNYaW3Wg2q9xiUXicAy4fnZN7/sjjZd6UIrvZsMoWOL8Cc3KkpJ9oZng==","shasum":"29f8d9ceffdddeb1a0f221af920da2209f134d4b","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNKSt7TbVKGghwj2Vir0Hyyjd83DnfKMu9ezuI7McLdAiAaquDVQFEfKUFFc14OUCUrCpArOipqH+9ehiGx2glx5w=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3-2.0.3.tgz_1501622090296_0.6364695953670889"},"directories":{}},"2.1.0":{"name":"serverless-plugin-existing-s3","version":"2.1.0","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"files":["index.js","README.md","LICENSE","package.json","Permissions.js","S3.js","Transformer.js","BucketConfig.js"],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"52c5e479eb353aab922abbb2dbc9552ececaf8e5","_id":"serverless-plugin-existing-s3@2.1.0","_npmVersion":"5.7.1","_nodeVersion":"6.9.5","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-6zKYx1+z9mr+uDni3IzzLMfHFjhDi7mcQU7BUdxkJvrhFE+W3J+9PEuVzWfQ7hdY7MfiapYGnM4zU46O4rGK0Q==","shasum":"61ab0e41e5b8e2dc1e7adcfcc080aba2f8785c88","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.1.0.tgz","fileCount":8,"unpackedSize":19935,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMDsgGOM/16nJr/AykAb/lW/ucwrPYKf7zjneN6EtrGAIgIE4tdyOXikzhYXZLr6vDOjI0r9InmAmy1/dKReUbAO0="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.1.0_1521732390236_0.11614360628002207"},"_hasShrinkwrap":false},"2.2.0":{"name":"serverless-plugin-existing-s3","version":"2.2.0","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"files":["index.js","README.md","LICENSE","package.json","Permissions.js","S3.js","Transformer.js","BucketConfig.js"],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"cf360eda1e10b86fd07036365e3361942f37202a","_id":"serverless-plugin-existing-s3@2.2.0","_npmVersion":"5.7.1","_nodeVersion":"6.9.5","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-kUAe7VG5LL7sYS2/xjkfvmLUfjjhsPWetzWRbVc0FPgr+30Rp0ge+2UphH0AocUNmfyd7tQI4aIWbIymexXYTg==","shasum":"73451eabbc5a5d4e181e8cedc1ff09d7de0b5645","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.2.0.tgz","fileCount":8,"unpackedSize":20143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6eTyCRA9TVsSAnZWagAAJsgP/ie4uk+8gjrwzGI0wikS\nxdG2pQHTT/vaBuOJN6n+8BRxR55nZxkmU5P6Oh8S3o9RvqDOAoi1m4rVhhzY\nLcp+5z+3BtA8TnnJcbUinzILvoI0UQgl1IQ8fggHLqgxW2zbu0fxFDyKptZk\nOuQjmays0IJCaP9gY6F+shuyJf7TsZft+d4324vBdVXg7pdfRiTDH6w3/iaI\nmrImYPlXbT6tCNITgvvpsfvZq341xsnXtYmFvTp9rLcYCQU87ZzvRPfr+5MT\nYKJRlO1vbyqRdgvNt9HP5f+flFjshl7sIk4Cm1oLzFihoBZCuJsF9E2pYTNx\nHLBvuSZl9Fxq5fDlRmYJ9khAdLMg3Zc5rGK9vJb+g7Il1VG7IWNQ/JLZlGFQ\n5mHaSQsQkPfZarB4vSzGwsW0DR2ciyAgmdH0MsybIU5PqPbbovtOFyZ3nmym\njKMkNfrRsDhMrvAwWUoy1OWAveCc6b8mkcXmAjircuDfeXNfua7tMnmwQpIr\nSPLyXMMSTU+19M8PnDOZdGdASIDgRCfV4jsC29uTdjgIKm01pa5VcJUIvWMs\n3JBxXQZCpuH9HEyA3YYkf7jb7Wol8CAmzjpvtP6dPA5VDDsIsRPmi+A6rOii\nKbhCXNFs2aT/e1YcSEbv8wkyGgumcSv2dNr+pnWKcbn1dxcn+HlKZEaRO7i/\npCkS\r\n=2IL1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKLaA2OlanmmRGqVKFor/VomHb/kfmULcrycDcboavDAiAt02ti0YTjqN+j3iSQkBFD/SEjhb1sF1K9Q80Do7RIyQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.2.0_1525277937758_0.8797595337534938"},"_hasShrinkwrap":false},"2.2.1":{"name":"serverless-plugin-existing-s3","version":"2.2.1","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"files":["index.js","README.md","LICENSE","package.json","Permissions.js","S3.js","Transformer.js","BucketConfig.js"],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"23656766055eb6d8559c02e83824db527dbf988b","_id":"serverless-plugin-existing-s3@2.2.1","_npmVersion":"6.0.0","_nodeVersion":"6.9.5","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-EkUwaDH3Y8aXNoFpNIiibRDSus7FfuQts6i/w+XbDSyE+Wxnm8smKePfCCSO4dv4cK7gMuuXsJeGrzZvTN+GRw==","shasum":"7a0907bf4eb3537f3ba51a83fc9da5702d435f72","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.2.1.tgz","fileCount":8,"unpackedSize":20211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9GxGCRA9TVsSAnZWagAAqk4QAJAcmZ+Cw3xpGZiUpYtd\ndiGbNFk7hG5++cIGhzl9x3Fzb01C/tZUYykToMTJ0Fhlp1vPafx91rxuySep\nt8TibL/rpKBNOVg8lY25a1hPTPSTVLmSmgnUpk9oQofI5wwQm/L8hivvpVQN\nN+EVKRheT002hPksFiHwVtuqukRjtwdfCUT58J4TvcW14ZJQBoFW6Rxhsgn8\nRA2I4JtRmL2gBn6yeuKREAYHf92RCI76SAQZZOcaKS+aimfuUo9lu473W98b\nsn2zUCIQHJu0+WElw5XWPdAAWdDUHvq3DJZWszUFmTAb9zklaJGrDl1vp6Ig\nQo0nNf1SmFQxR6LmW8XJRnEfRlqUXgsBV/zFggh3+tafEBCbs/Y9I+pexxva\nOCkfUzhDlbb8CxYIElzwNHNheAw01KuSCfZbxQNdKlXEG5IjxtsrazS+u0Fk\n640RTbb0ShvgP14vYFuL2MoU0DnsmyVZ/+Tophd8CvHUty6j2zZ4gK5vf2jw\nwSA3OGxchghqaxkjSGKkwbpAlfLjQLuNpH3hT0nORQPVX4dD1dap+/13ME0k\ngIMBJoxn2LGkNPBygMxZ3gSsBZzZYsIuHrCEadwU3ckDJ5B5XkkTqA7dx/Kc\ni4DsftMiMKxpdCw4dPclOLmFlTVdhJacjyqpkPKqWn35uIkgomv1b/2bJdsX\nis2e\r\n=X/RK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgVls3xnbIDVSetQXb+Ms3utLaf7jMgFAmGlP20YF9KAiAtaMcVGxHdgG4V04zZmWc4Jw+GUVjCsad57eRn15aIeQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.2.1_1525967941536_0.2807120927194404"},"_hasShrinkwrap":false},"2.2.2":{"name":"serverless-plugin-existing-s3","version":"2.2.2","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"files":["index.js","README.md","LICENSE","package.json","Permissions.js","S3.js","Transformer.js","BucketConfig.js"],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"ba79a4e9ea61fd4cb58e30953fcb50566f9e383d","_id":"serverless-plugin-existing-s3@2.2.2","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-nwLVcBjS6MOjNBjdh5PhNBm/eEnZszDyESTiyCwSkf2iIjJE84dpUuhAb2BcTXAoFz4Wexd9Hh6zZ2is7Gwhxw==","shasum":"612c66b9a77a615fd444c9cf4f1521833a9f805c","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.2.2.tgz","fileCount":8,"unpackedSize":20142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbM8RlCRA9TVsSAnZWagAAs3MP/RUbfKSKfXrih/q3zwQx\nqmdHnCd/ef+yepmISis5aqy7EwmDTmGDrk2i3pw+zsNyf5d07qxUd7QuwGtP\njUrhbT5k7Ka1XB+ZICtrxJm00JMTE8dBcpji8UqiZ4fO28DVjRIvI/+Z6l56\n8CcAFGsx42QvEq9HIMRSYvbVeAErFHhnU+bFufpaG1RsPgGzhaZyAu9o7lnU\nuhIB+nNItfeXLTW0ebrSpm8OyWmoogA+NUhlO+QWqtcdFHGyyPWi+KgR6lkS\nEwEjMZuoKH2wFFaFfulM/vy2BKe2X4qNM/cGC+gJfVWYiH3PqnVKyGW5MnEe\nwbwJo+Wq/qEhGcz9qskDKS2roM2bS5lJhD2cZsOS24X/A11xJcOT5YVrZLlH\n1ugQjdB2bZb6oVSlM4ibZx1Dw8WJUTq+LQYtez/24wv3C7e/03V6HH2OAHfU\nbI5TW5QGE1le0heCkyt7xatRlEe2aoQsrhPAJYl6AKhACsp/SW0zRJOJVxHm\nRayOMBVD9GH2++f2HOQh2vjISs7FE396diSG0v8JqFM+RASP1d9M1tu4Z4+3\ng58x/jAK1RrrRBHqbhsobwbIZt2YBH/9M/5AQgpITaz/oIQAXV38fvT8b75K\nyWlFvAlLjWLaCrresZsDgPRfrgj/UmNSV7iNghu+06Bhgkq4RWvQxPNg/hwN\nSsfr\r\n=co0+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG18SglqHlwpH9uBeTCiZ5X8YpPTED4+Y+9hnXkeCfyAIhAKp+eu8cvcuLpNSaTRaaomUgfdCVq7SJzrs/tlcNV5gU"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.2.2_1530119269638_0.19983526435195742"},"_hasShrinkwrap":false},"2.3.0":{"name":"serverless-plugin-existing-s3","version":"2.3.0","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"4e25e318ffd16664e3d570e8227f49eb147147f8","_id":"serverless-plugin-existing-s3@2.3.0","_npmVersion":"6.5.0","_nodeVersion":"8.12.0","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-lFj/QHvfiYQgCiW6FwZNL537mS5BgM3GyzyzhlMaKulGPQs0Ja4vO/l9eQgjZXQeShLeGDrHlFKY0thVLyFQeg==","shasum":"a90b252619d9b2482ed19e98ddb374626b67d971","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.3.0.tgz","fileCount":8,"unpackedSize":20238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD0sjCRA9TVsSAnZWagAAUHAP/RBqUdsJ86FqH4FebBO6\nBRtKUSVEa7FmxQfQSVzWoPmDH4illxntxwrGuip1+zr57ojUHZSEv/oE/bop\nYlg7xB8Aue1vJ7bqs2+IlM47AvTytRWKj1yxfKtzO4kXwbWnvoDXPTzw5uT9\nJXJ+MmA1BQN1iHCRD2I6R43tnPfV6xja97ET8TprlEa29hVyoqUAN/JJxju7\nRa2pB5uPkQQd/xGWVXOxeEcBidrCH3cPJIzxBeami83Uyp7thlu5ckPHpKs8\nA/mNL6LTNs2QhTNMW0oiar1ifVS+OadEUEMOqNc8RGlnIeRMsIZkDKWF0VBq\n8GGjl3hybk6LcMpb3k3rNAAOKsFWgPd1pEsJanZ/TucGEqFx1YSSHkKtcecU\npzQA0V7bCzGVjWqrcHYOWVjYtCEPNelLWK9+KaDuLvWEF4g8MR53kmwUMXif\ntxGKqxhsTylre1IeUejOdawDma5tngA6zRcyrq67fywnwt8GSX/hI7uIfOOr\nKVooWufBjCJgDC8Lhn5Vzu6A7ov5eoVFQJ9MvQoqPqGbWO0TQUm2pl8jXYVi\n/kc4dHZ889A/ruDc5fPhbHjcOeCdq9LVo2SsD5m/bxXS+PmN4MqKGK6NtXA0\nNGnYggnop1FwdofvBYWg9OKgjnOrx/s97MZj4NzxrRNhr/EplOk2U+FFvM3F\nOa2g\r\n=p1DQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyOCMtCzsxPksM9AV2YcJFmPQr8bvQJI7xJjChgtyB8wIgeW303InTzZY0vpdNcYNYAlyF61yisGBlK8kkbRM/+jc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.3.0_1544506146445_0.12930461491586143"},"_hasShrinkwrap":false},"2.3.2":{"name":"serverless-plugin-existing-s3","version":"2.3.2","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"4e4864c695736eb25e7e45bfe3b6236e10242f81","_id":"serverless-plugin-existing-s3@2.3.2","_npmVersion":"6.5.0","_nodeVersion":"8.11.2","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-0T/LGG1umKUtZSiehQwqUV7Z2xYmLeEXOEdkVz1Zoy9TuBBX6xgTg+KjTtWzyCbCY+ntaNDAGolKRZ3qypLFdw==","shasum":"191458d59dcedf46720d3c42d520631682a08da2","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.3.2.tgz","fileCount":8,"unpackedSize":22057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdEojCRA9TVsSAnZWagAABJsP/jK4Ia4EVyPURVAWOddQ\nLTyx/SMPRhL6svtWSQCCMWed6O5R+yvrGH3Ugzc9IchNoRhBQZxofHlQKXtV\nf1zXRtvlZz5Y47RsJiwjQFV9Ghigs2b4kyiej9Kz1Zu+hkkbLdUkY83DYNW7\nVV1lkpRNK+5Jvpnh6a7u+HCzlaoJi289kfmAxqy1heoDncO4Pj40hsUl8E/t\n3II4jdhxfYplIDI8NiaQRuCvEBKBTs4vcAtej/vWpSku+LIwlwy9jiumjHpw\nixwR+CshZiGrJeUYfSM0DM9eZWiMU4C5ptMHT0gXZXmHYpMpV4XrmF53tLxt\nbdzkDzaxg1CQo6Y8f2pcFHm/B3/TSpmBLhbf2Ff4HQnJIgteCB5QtKkzxaVj\nThbiSLoNJRc0flJbqpj+yIBxRSjs0clN6VRY9asONf6n4TDchvY75SkFMn+p\nCteYz+ogkvLFwyICJCh9fOoGob2nossF1/v7q4jJ9f5XywNRL/eTV8axzw91\n49xfHhTNM9SjP33bp9QnO8CLKg9+gZvfFTHx3zu03u5kGiBH1Botw8UyqCIQ\nMWkg9ZvfL38IT7ye7JX77BZuOkYFlmq70OlJJrM+N7Wq+U6GdTEVcfQNO5N7\nCImdyoHkP4vrQpDra6/aSC0m86cVWJwvr3qxWuLKYjbwzGqCpBZQ2r4qm0+z\n+xZE\r\n=T3TN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB24KZOLvhi65jPIDAsQP/oyubfwtSDtiVuu5la26XIWAiA4jyjV9wS5VL0rKNZJbmaVJAn4Ro081dK/1zvHs5C/hg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.3.2_1551125026504_0.47060652992191443"},"_hasShrinkwrap":false},"2.3.3":{"name":"serverless-plugin-existing-s3","version":"2.3.3","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"61a4bd4af6238c7756faa20502c2d5afa68d32cb","_id":"serverless-plugin-existing-s3@2.3.3","_npmVersion":"6.5.0","_nodeVersion":"8.11.2","_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"dist":{"integrity":"sha512-bjSdFjx2KwVT5Bws1rxWSGtXP16xxleqzIuSI7gPRs3ZQA62eLSxDYv+FEcKnjA8s/WSDR3jngyJQqVxBiDtxg==","shasum":"07c3ec2f34b51bcc0bf770323f91ea430ce4f554","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.3.3.tgz","fileCount":8,"unpackedSize":22071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdXclCRA9TVsSAnZWagAAP24P/02MSh5W79vKP7BtGvoD\nY0AvhbWnHTqR1r5v3AeYf4sd4++EDME5vQeYnHtrUF27v6Ill7WVr10L5q6r\nqPYMJ3wFanqDKZi2k64vL3HD2oFFwW5N+o307Ltc75E9lEQcBrx5yYucdOMX\no2g4CIhN+Qvnj2mBQXwkTN0zMS7ozQVsF2vXpnvwGI5V6n8n9cn8GjV+U0wc\nUQfe2ESvW/f2ns7zs0bZ9vbDpDRnyqJ0XhzJq/aiaIXkbRve7TQuQs+r7GWs\n/3rM4dZO8xyAJS6iFeiIRsGGVQc+Mr0Vge/5s+8ZP8qmTwDgpkz8b/evu9cp\nfFgDjY3BbRoyJSRauqvcvrbZho/Lw4bgsh0iv+dL3CtZAW+kO5cztofD7w43\nckb4jFlg0UWgzliZTj3gemvK4YImZsLyDFSLV4NN+jVeFlwAHTOf/+vybYAR\n0F1FEhQW/xGTkmSUS/QrPXDSBnbm+emwj70Y73vlgmROlB3NEtKEAmNZt0dP\ng7VUN5iwO+eRjypZfwhN+C+lMVG+eqEcUyYDQAlUAqBKD42yb9nd/061a7E1\ny/QzJg2woJbPg08rvd1pv1mbGqOULI60GKY2HZDrrg0VOV//JZpnkazIxyEE\nqRjOtQX4vuTw1kQEnmoCuiIWyfUGc8tXUwvWISkdRAb0ocXIvfgPpJKPjPaN\nxMv7\r\n=cIv5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrzJXH0uMFWa+kUcdWaQ5bdoBneidXWHgAUv8Jg5k7iAiEAjMIsfygtw781nx5TktlVFSVLk5flwVDTa/OH1tH0iUI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.3.3_1551202085149_0.3658604038081261"},"_hasShrinkwrap":false},"2.4.0":{"name":"serverless-plugin-existing-s3","version":"2.4.0","description":"Attach Lambda events to an existing S3 bucket, for Serverless.com 1.11.0+.","main":"index.js","homepage":"https://github.com/matt-filion/serverless-external-s3-event","dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.4","sinon":"^4.4.3"},"maintainers":[{"name":"matt-filion","email":"matt.filion@gmail.com"}],"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"private":false,"licenses":[{"type":"MIT","url":"http://github.com/jeremyosborne/packagejsonexample/blob/master/LICENSE.txt"}],"keywords":["s3","event","notifications","serverless","serverless.com"],"scripts":{"test":"mocha spec"},"gitHead":"22acad17ae2e6b2a3f7f473757bc4fc6b4ddfcb1","_id":"serverless-plugin-existing-s3@2.4.0","_nodeVersion":"8.12.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-BsOSOM5X4hFmX2U7WlUWvMooTega4fKGc547OiWTUwHtB/H1nBs5bQJxM4jHJLIODEoVLw8J8O90rlif/yHwuQ==","shasum":"3dcbfb1d10cdd52dfd51ef06cd0f0810457d00a8","tarball":"https://registry.npmjs.org/serverless-plugin-existing-s3/-/serverless-plugin-existing-s3-2.4.0.tgz","fileCount":8,"unpackedSize":23315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3kmACRA9TVsSAnZWagAAfkwP/Ry/1Q1fuSMkk07hIgOU\niCXrl6ahdt5Jt5nndnpPRWSLIIdqa4SsAKAxcN6YHHLy7PCjUYdEFhr0vgb8\nK3qcLfmXRjZIoYJ7M0X0jcCxJz1D7A+vF8nxmr5d66MKhvPD5ep6XrVhxEmC\nge3E9f9i46PUlA5/LzgSPuEO7rVxQlW208zKhrIVE03TbbhBZlzQz2dT7U1U\nFejADA6kb81TeBRTla8IyUUB3G4hXttIMh1/RxJDqfa+KNC5VI8xguc7FtG/\nrFEAL0rVW4ljiiHB6B2o+4VJRnKfaAikghYmgVbMxRWCmvEvaWmjtpV7sG8u\ntH1/XSExnxqKqMUYv4xzMMToNBDHNW4gSPJVHUjqezqqNEsqiKr0AqAdB1Ag\nuLsk7TiEDxL1RI3OjFFMOOH6qicemJ2utIcP8kngK8IB8Mae8+ObBBqLYJYu\n4emrjksN2wh48o5Zpb3yNiLKbi8NOtApeVwqtlrNIqFxxlq3NJ4lQInVcW/c\n2YTGWEeWPsMkQU8QMy5hF2UWb1FqTlf1NCuPi4FqMsvmB3EcRvfH4Hl8JOwU\n6K/qQqW4iIcbRDXBD8f7BMh6UYYfi5FpFO/FDQmJV11ohhm0eiqIid/2uvgP\nklJ0ID+yEP8vC3wy5AkZw7wvZDaA6SR5s1TrPsWwBkKNw7qR48C28vroSE9i\nA2q+\r\n=8cqn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHL5z/X9GXaR6cp/AKQ5AKFHZp0DXcvgoSIUOX/8MLhOAiAfCyh5vg1AEdBznMTCiBS91YgEIbIpEMp3tKej7ZIwlQ=="}]},"_npmUser":{"name":"matt-filion","email":"matt.filion@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-plugin-existing-s3_2.4.0_1558071679481_0.9676717226029004"},"_hasShrinkwrap":false}},"readme":"# Why?\r\n\r\nOvercomes the CloudFormation limitation on attaching an event to an uncontrolled bucket, for Serverless.com 1.11.0+. See [this stackoverflow issue](http://serverfault.com/questions/610788/using-cloudformation-with-an-existing-s3-bucket) for more information.\r\n\r\n# How?\r\n\r\n**1. NPM dependency**\r\n_Looking to eliminate this step, as it will place the dependency within your deployed code._\r\n\r\n```\r\n> npm install serverless-plugin-existing-s3\r\n```\r\n\r\n**Declare the plugin in your serverless.yml**\r\n\r\n```serverless.yml\r\n\r\nplugins:\r\n - serverless-plugin-existing-s3\r\n\r\n```\r\n\r\n**2. Give your deploy permission to access the bucket.**\r\nThe BUCKET_NAME variable within provider.iamRoleStatements.Resource.Fn::Join needs to be replaced with the name of the bucket you want to attach your event(s) to. If there are multiple buckets you want to attach events to add a new item for each bucket.\r\n\r\n```serverless.yml\r\nprovider:\r\n  name: aws\r\n  runtime: nodejs4.3\r\n  iamRoleStatements:\r\n    ...\r\n    -  Effect: \"Allow\"\r\n       Action:\r\n         - \"s3:GetBucketNotification\"\r\n         - \"s3:PutBucketNotification\"\r\n       Resource:\r\n         Fn::Join:\r\n           - \"\"\r\n           - - \"arn:aws:s3:::BUCKET_NAME or *\"\r\n```\r\n\r\n**3. Attach an event to your target function.**\r\nAdd an -existingS3 event definition under 'events' of your function declaration. The 'events' value is optional under your -existingS3 event and if omitted, it will default to a single entry for \"s3:ObjectCreated:\\*\".\r\n\r\nThe rules property is optional and can contain either a prefix, suffix or both of these properties as a rule for when the event will trigger.\r\n\r\nNote: The bucketEvents and eventRules attributes introduced in 1.0.1 will still work, but will likely be deprecated in the future.\r\n\r\n```serverless.yml\r\n\r\nfunctions:\r\n  someFunction:\r\n    handler: index.handler\r\n    events:\r\n      - existingS3:\r\n          bucket: BUCKET_NAME\r\n          events:\r\n            - s3:ObjectCreated:*\r\n          rules:\r\n            - prefix: images/\r\n            - suffix: .jpg\r\n```\r\n\r\n**Multiple Prefixes**\r\nAs identified with [issue 62](https://github.com/matt-filion/serverless-external-s3-event/issues/62).\r\n\r\n```\r\nfunctions:\r\n  myAmazingLambdaFunction:\r\n    handler: lambda-to-be-triggered-by-s3.handler\r\n    events:\r\n      - existingS3:\r\n          bucket: 'my-bucket'\r\n          events:\r\n            - s3:ObjectCreated:*\r\n          rules:\r\n            - prefix: some/prefix\r\n      - existingS3:\r\n          bucket: 'my-bucket'\r\n          events:\r\n            - s3:ObjectCreated:*\r\n          rules:\r\n            - prefix: someother/prefix\r\n```\r\n\r\n**Run the command.**\r\n_I could not figure out how to hook into the existing deploy behaviors built into Serverless.com's deploy command. So as a result you have to run a separate command AFTER you do `sls deploy`._\r\n\r\n```\r\n> sls deploy\r\nServerless: Zipping service...\r\nServerless: Uploading CloudFormation file to S3...\r\nServerless: Removing old service versions...\r\nServerless: Uploading .zip file to S3...\r\nServerless: Updating Stack...\r\nServerless: Checking stack update progress...\r\n..\r\nServerless: Deployment successful!\r\n\r\nService Information\r\nservice: service-name\r\nstage: stage\r\nregion: region\r\nendpoints:\r\n  None\r\nfunctions:\r\n  someFunction: arn:aws:lambda:region:accountid:function:service-name-stage-someFunction\r\n\r\n> sls s3deploy\r\nAttaching event(s) to: someFunction\r\nDone.\r\n\r\n```\r\n\r\n**Command line options**\r\n\r\n- `--alias`: Use this option to specify the lambda function's alias to be set as the event handler. This is optional and if omitted, the lambda function without a qualifier will be used (the `$LATEST` version). Here's an example on how to use it:\r\n\r\n```\r\n> sls deploy --stage dev --alias dev\r\n> sls s3deploy --stage dev --alias dev\r\n> sls s3eventremove --stage dev --alias dev\r\n```\r\n\r\n# I haz an errawr\r\n\r\nThe only one I see, and quite regularly during my testing, is a result of having the wrong bucket name configured in the serverless.yml, either in the IAM configuration providing permissions or in the function definition where I'm attaching the event. Make sure your bucket names are right.\r\n\r\nIf you are really stuck, open an issue at https://github.com/matt-filion/serverless-external-s3-event/issues\r\n\r\n# Contributing\r\n\r\nYou can run test by running\r\n\r\n```\r\nyarn install\r\nyarn test\r\n```\r\n","maintainers":[{"email":"services@serverless.com","name":"serverless-main"},{"email":"matt.filion@gmail.com","name":"matt-filion"}],"time":{"modified":"2022-05-17T13:09:29.733Z","created":"2017-06-14T19:29:11.779Z","2.0.2":"2017-06-14T19:29:11.779Z","2.0.1":"2017-08-01T20:29:27.994Z","2.0.3":"2017-08-01T21:14:50.404Z","2.1.0":"2018-03-22T15:26:30.279Z","2.2.0":"2018-05-02T16:18:57.816Z","2.2.1":"2018-05-10T15:59:01.592Z","2.2.2":"2018-06-27T17:07:49.694Z","2.3.0":"2018-12-11T05:29:06.583Z","2.3.2":"2019-02-25T20:03:46.625Z","2.3.3":"2019-02-26T17:28:05.300Z","2.4.0":"2019-05-17T05:41:19.644Z"},"homepage":"https://github.com/matt-filion/serverless-external-s3-event","keywords":["s3","event","notifications","serverless","serverless.com"],"repository":{"type":"git","url":"git+https://github.com/matt-filion/serverless-external-s3-event.git"},"contributors":[{"name":"Matt Filion","email":"matt.filion@gmail.com"},{"name":"Justin Hart","email":"npm@onyxraven.com"}],"author":{"name":"Matt Filion","email":"matt.filion@gmail.com"},"bugs":{"url":"https://github.com/matt-filion/serverless-external-s3-event/issues"},"readmeFilename":"README.md"}