package
Lambda function wrapper for cfn custom resource hook
npm install lambda-cfn-hookGitHub-flavored package documentation.
Across all versions, last 30 days.
1,007 in 30 days
Runtime metadata.
Tagged topics.
Lambda function wrapper for cfn custom resource hook
npm i --save lambda-cfn-hookimport { wrap } from 'lambda-cfn-hook';
export const hook = wrap((event, context) => {
// do stuff here
}, {/* options */});and attach the hook function to a custom resource as a Lambda function in CloudFormation.
silent boolean: Default false. If set to true, then no error is thrown if an event is received that isn't originating from a custom resource life-cycle lambda hook. Useful if the lambda handler is multi purpose.Code is adapted from here.
Estimated unpacked size across 21 packages.
4.6 MB
Includes dependencies.
5 direct dependencies.