Async / Await alternative to the
Please Read The Documentation
cfn-response module can be tricky, it is sometimes injected automagically and sometimes not. For a full understanding, please read the documentation here.
Specifically pay attention to the following:
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.
Someone on the AWS Lambda team should really take this project over
If 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.
$ npm install cfn-response-async
Note: The example also assumes you've installed