cfn-custom-resource-response

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i cfn-custom-resource-response

Weekly Downloads

0

Version

1.0.0

License

A copy of the License is located at http://aws.amazon.com/agreement/

Unpacked Size

3.95 kB

Total Files

3

Last publish

Collaborators

  • francismeynard