{"_id":"cfn-response-async","_rev":"3-9baf14c3939a48c4f870cc391637e512","name":"cfn-response-async","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"cfn-response-async","version":"0.1.0","description":"An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation","author":{"name":"Joseph Carroll","email":"jdsalingerjr@gmail.com"},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/jd-carroll/cfn-response-async.git"},"scripts":{"build":"rimraf dist && tsc"},"directories":{"dist":"dist"},"keywords":["aws","cfn-response","response","lambda","function","cloudFormation","custom","resource","cloud","formation","async","await"],"devDependencies":{"@types/aws-lambda":"^8.10.31","@types/node":"^12.7.2","rimraf":"^3.0.0","ts-node":"^8.3.0","typescript":"^3.5.3"},"bugs":{"url":"https://github.com/jd-carroll/cfn-response-async/issues"},"homepage":"https://github.com/jd-carroll/cfn-response-async#readme","_id":"cfn-response-async@0.1.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-iqU0v2ZdKOcuZY7nOEDp6Lv4+Th0/bF/xugqAaCdEYU5XcdKGXFNNUCYe/gI3VaAYWB5sAq9nD21QRzFxh8pFg==","shasum":"19a3f8703d7ece3993e830c9d783bad65d472a03","tarball":"https://registry.npmjs.org/cfn-response-async/-/cfn-response-async-0.1.0.tgz","fileCount":5,"unpackedSize":11343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaUFtCRA9TVsSAnZWagAAR7kP+wVR3qho5Oyr3beQmF5t\nyC6NTWil/wL1kD6mAau22WoTCNUrhhKVmP5wfQjNZcPfZixsstYNSh0HUSNN\nbblv8QqpA6PmnvjPcSTly0p9hEMsxnvzSmW0Idr4z9ZCMTAld1avoUGIzVSq\nfRZBI863cXrbJoE0wb+2SI6SPLvA1ZBrHzF4sJORgU/kaQW5bBvxdHcc1Fp8\n4S6yHb24vTn0zi4YnJl1GPmj85pVUYgXcGJCoEuOrXOZ0KeCFWtt9kSRC7KT\nN2GUxq4RcP9Xljk3HTrzr7cZJo/3ic5gLRUOHKg0pfoeFOD+bY+K/yJFsZnk\nT+HwlitzN+9T0zlK3YEwK6YZqtCHzrjURap1utANFtMy2FgvL+NlHnX8RmDk\nx/gOx3cP+8iF21ANM0pZt4mFHjM9411BpAON3n1pHIpu96cZKnASVG1slB+M\nzwitZNbxVhy95V4fj4P8lESIsS/6q9ISPYufiDpo6q+QdJv9aFCD6ETT+1BV\nmne+uEXrTKE6IAYNjENjxq/ymsqOBAZ69Na8G0gVVw4O2v2Xwd9cBYAiZMal\nvnG5QdXuw2jJRksJG7e4oPyjd6Eegv2XrcxQFlK7oxXiU3ZslpEVZRrxxEpB\nMoIgzstXFw16+C1rpbVw0qxvt+a+AilIdFkPjHiHHwh2yxlJEQgEpnp/d5a5\nqQJH\r\n=sPEp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMmyQCLQKoZZFgsJYMUgMTpPZXig/8tLAxz/fvm3MokAiAy3YFSLGWA1DtmXyymMBXIgus5ln1/2U86Uueot6f5Zw=="}]},"maintainers":[{"name":"jd-carroll","email":"jdsalingerjr@gmail.com"}],"_npmUser":{"name":"jd-carroll","email":"jdsalingerjr@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cfn-response-async_0.1.0_1567179116433_0.759228308721521"},"_hasShrinkwrap":false},"0.1.1":{"name":"cfn-response-async","version":"0.1.1","description":"An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation","author":{"name":"Joseph Carroll","email":"jdsalingerjr@gmail.com"},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/jd-carroll/cfn-response-async.git"},"scripts":{"build":"rimraf dist && tsc"},"directories":{"dist":"dist"},"keywords":["aws","cfn-response","response","lambda","function","cloudFormation","custom","resource","cloud","formation","async","await"],"devDependencies":{"@types/aws-lambda":"^8.10.31","@types/node":"^12.7.2","rimraf":"^3.0.0","ts-node":"^8.3.0","typescript":"^3.5.3"},"bugs":{"url":"https://github.com/jd-carroll/cfn-response-async/issues"},"homepage":"https://github.com/jd-carroll/cfn-response-async#readme","_id":"cfn-response-async@0.1.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-c5DAIGPVBwFC3HakcvKZp01y81f43UkeZ/qZo/7xfLSx+FBcUHU4M+WcJEDCC+2Ft5fLMd9YyQieiOIzzgmWgw==","shasum":"c9b9a6ace940d3c042ad99b7998f4a61c165b196","tarball":"https://registry.npmjs.org/cfn-response-async/-/cfn-response-async-0.1.1.tgz","fileCount":5,"unpackedSize":11344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaUNhCRA9TVsSAnZWagAAJNwQAIRoFUBErDBWGg5MVlZH\nYlffwSLOgpPb5qfC1NQx3+J3kKxscNy0PFnIZ3X71/VE/8FbriKPwiQx9GSo\nfhc7oVn43o4GSbkMb1NhUyRKn6lZA2nWsCRtqBjbld3hm+1AQ3m/c2nhhjyF\nOcTFdFrnOiC4IL6WKx+p/GThH0EqCsTOaNft1Yb+M/uRzBpx8xrkXT7oqiDu\nP17c4r+2cJilmNcDjhWj1v86HPf1xtc0dQA6N+QS8yqVMEkW8krvau1iRvol\nCsrzRuMu4Q5ZjaRnw+3cJOJUXTpmuzYNoKAaTeaUx7OJRN18X0ClTwApod3l\nYAFDTi3KKWW5DWvSKUNGC0QCXgUvotNTdlKtmCX54QZ6SWdgH7SLwaPxw0fL\nN1oaz1MFkyZNVXnb2GSwpw/JUqiCDhuEUk+OkUKp2R/mZnSkFtqWeCW+RJNc\nfM4WGqZxVdToDp5QyfoLEGn2/oqq0X4vXBLu9lz0Cc9g+xptRFIXSp0zwvby\nba6yrVUFe5K6L5Gcn8OdIYp5IJyPumBp93pw963AKZA0sxit2pTKAQx4O9wj\niWWRAq/oYF9DTwDieAg8lPgvPil15OCVQrPC7hyT70BoWZMGmKiMDEyb4S74\nSTlCDG+Bq6tnkXjgCNLCsSykk8Rc5c+hXwLRdzOHQfF0zHW/mkx090neEKT8\nwDU3\r\n=IIlJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWED21X9hq1mqg2wfIl6Pek2d1SFYN+or30zvPhqhpAAIgdYdvGV1iXre3banAIAcLeR0q6rb5wY0p7XRUS48wGV8="}]},"maintainers":[{"name":"jd-carroll","email":"jdsalingerjr@gmail.com"}],"_npmUser":{"name":"jd-carroll","email":"jdsalingerjr@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cfn-response-async_0.1.1_1567179616617_0.42740801679496165"},"_hasShrinkwrap":false},"1.0.0":{"name":"cfn-response-async","version":"1.0.0","description":"An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation","author":{"name":"Joseph Carroll","email":"jdsalingerjr@gmail.com"},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/jd-carroll/cfn-response-async.git"},"scripts":{"build":"rimraf dist && tsc"},"directories":{"dist":"dist"},"keywords":["aws","cfn-response","response","lambda","function","cloudFormation","custom","resource","cloud","formation","async","await"],"devDependencies":{"@types/aws-lambda":"^8.10.31","@types/node":"^12.7.2","rimraf":"^3.0.0","ts-node":"^8.3.0","typescript":"^3.5.3"},"gitHead":"501ef9159f60dc1a12fb8903147313af0d8c7dd8","bugs":{"url":"https://github.com/jd-carroll/cfn-response-async/issues"},"homepage":"https://github.com/jd-carroll/cfn-response-async#readme","_id":"cfn-response-async@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-/uSeKzALcu0SDieUwu9LwqxTYX4IpX3JAyNAfQ6menx7Y2FfERAUw884Qk4/o+KYZNsaPXjFaEwGHsyrQP/FJA==","shasum":"92cfe1756413a0cce9b50e86e1f5519951d18989","tarball":"https://registry.npmjs.org/cfn-response-async/-/cfn-response-async-1.0.0.tgz","fileCount":8,"unpackedSize":12060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbIV2CRA9TVsSAnZWagAAztMQAJ640M0Wm4pcQYoiaqJX\n5W4A88iLXCoXXm51v+P/+zKP5wru/N4DFJAe17yM2axCeoOnWsDrNBVvmDf0\n+CIjKdSUE/ipVvOSrOzimc+VorClX+mlWuMenlFPkIJBtkB3kvGmqZwqhnzf\n5W1aWgQFkMD/6JyosmhPq6qRpZM8J1ul+9gtIbJgO+Ntgge+G6M24QYxerV1\nvN0Qpd8qTrm/Lp5pgL6LkBDEVKzy50p0XDzcXwEivAVnY7f+WB3n5RRhv6AI\nt/CDVGqK2LtXOElG+VWtvVJ7bWcbHCkrLvkB1J3dUWB1E8c/B8Gl++h/9C/F\nfYKBhB4EZhUmVatoSAVMbjBNQYQnERgudspsEVu1flPQaYlYGP6QVvGg4sOE\nC+HXw5VkIc7P0ZSPJu1055i0fOr2gkszFIMCkD8Ax8MyT+mk6ARG/4jw9dFl\nAa3J139aG8/Q+J+xsAAnM2miNqcJtkVdCc2sdREhrUkN+9vL0+95O3M3ga9e\nz/dSoYAIThvhC9Dyp2xSUnh66BWLbKWSAERTB5brzUw3d72eJEnOXXQKY6+E\noPU4HwYt9Wqtp2czMQy0SGkrbrD76kaULo8PYT6Vg9wApWKCkHPZHVDroPeA\nx4yV6gyJ9hOz8SzXd2pvC1V7ZwqAdowT42GKbMZ3X9m69b1WkONGgcadPHPN\n54L0\r\n=YFea\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjBhH9tZgh/Jj00yiKKBNDquRkfMUhqW/QjKyj4WquVAiEAw/mkf6M67fC/N1cOoXJ+tVC85Ja4SYfo+3sRnDwzU/o="}]},"maintainers":[{"name":"jd-carroll","email":"jdsalingerjr@gmail.com"}],"_npmUser":{"name":"jd-carroll","email":"jdsalingerjr@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cfn-response-async_1.0.0_1567393142253_0.5016585169726557"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-30T15:31:56.433Z","0.1.0":"2019-08-30T15:31:56.556Z","modified":"2022-04-12T05:49:18.457Z","0.1.1":"2019-08-30T15:40:16.734Z","1.0.0":"2019-09-02T02:59:02.371Z"},"maintainers":[{"name":"jd-carroll","email":"jdsalingerjr@gmail.com"}],"description":"An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation","homepage":"https://github.com/jd-carroll/cfn-response-async#readme","keywords":["aws","cfn-response","response","lambda","function","cloudFormation","custom","resource","cloud","formation","async","await"],"repository":{"type":"git","url":"git+https://github.com/jd-carroll/cfn-response-async.git"},"author":{"name":"Joseph Carroll","email":"jdsalingerjr@gmail.com"},"bugs":{"url":"https://github.com/jd-carroll/cfn-response-async/issues"},"license":"MIT","readme":"Async / Await alternative to the `cfn-response` module\n\n**Please Read The Documentation** \n\nThe `cfn-response` module can be tricky, it is sometimes injected automagically and sometimes not.  For a full understanding, please read the documentation [here][1]. \n\nSpecifically pay attention to the following:\n\n> **Note**\n>\n> The cfn-response module is available only when you use the ZipFile property to write your source code. It isn't available for source code that's stored in Amazon S3 buckets. For code in buckets, you must write your own functions to send responses.\n\n### Someone on the AWS Lambda team should really take this project over\n\nIf you notice the code here is out of sync with the latest, official version from Amazon, please send a pull request and link to where Amazon has posted the latest code.\n\n## Installation\n```\n$ npm install cfn-response-async\n```\n\nSample usage:\n```typescript\nimport { CloudFormationCustomResourceEvent, Context } from 'aws-lambda';\nimport { send, SUCCESS } from 'cfn-response-async';\n\nexport const handler = async (event: CloudFormationCustomResourceEvent, context: Context) {\n  console.log('request:', JSON.stringify(event, undefined, 2));\n  await send(event, context, SUCCESS, {\n    Response: `Hello, async/await CustomResource`\n  });\n};\n```\n\nNote: The example also assumes you've installed `@types/aws-lambda`\n\n[1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html\n","readmeFilename":"README.md"}