This module contains functions that respond on behalf of custom resources you create using AWS CloudFormation and was orignally forked from LukeMizuhashi/cfn-response.
This module makes the following enhancements:
- Added check to ensure Data is a key/pair object. Prevents silent failures after submitting to S3
- Will ensure a PhysicalResourceId is always present even if the lambda function does not have permissions to CloudWatch Logs
- For security console.log statements are removed to prevent leaking any sensitive data. Request errors and return objects are sent context.done only
Any Lambda function using this module stops running after executing the module's send method.
For more information, read the AWS documentation here