Socket
Socket
Sign inDemoInstall

cfn-custom-resource-response

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cfn-custom-resource-response

This is a NPM-hosted of AWS cfn-response for Custom Resources.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
3.86 kB
Created
Weekly downloads
 

Readme

Source

cfn-custom-resource-response

npm install cfn-custom-resource-response --save

Introduction

This is a NPM-hosted of AWS cfn-response for Custom Resources.

Description

This module contains a send method that respond on behalf of custom resources you create using AWS CloudFormation by way of an Amazon S3 presigned URL (the ResponseURL).

For more information about AWS cfn-response, click here.

Usage

const response  = require('cfn-custom-resource-response');

response.send(event, context, response.SUCCESS, { "message": "Success" });

After executing the send method, the Lambda function terminates, so anything you write after that method is ignored.

Sample Lambda with Cloudformation can be found in here.

Keywords

FAQs

Last updated on 20 Feb 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc