
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
cfn-response-promise
Advanced tools
wrap cfn-response in promise to support await/async style lambda in cloudformation custom resource
Promise wrapped version of cfn-response.
to support the async await pattern that nodejs8.10 runtime provides.
The response.send method returns promise, so now you can write:
const response = require('cfn-response-promise')
exports.main = async (event, content) => {
return await response.send(event, context, response.SUCCESS, returnData);
}
This module contains functions that respond on behalf of custom resources you create using AWS CloudFormation.
The module includes a send method, which sends a response object to a custom resource by way of a ResponseURL, which is an Amazon S3 pre-signed URL.
Any Lambda function using this module stops running after executing the module's send method.
For more information, read the AWS documentation here
FAQs
wrap cfn-response in promise to support await/async style lambda in cloudformation custom resource
The npm package cfn-response-promise receives a total of 6,929 weekly downloads. As such, cfn-response-promise popularity was classified as popular.
We found that cfn-response-promise demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.