# cfn-custom-resource-response

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

Latest version **1.0.0** (published 2019-02-20) · A copy of the License is located at http://aws.amazon.com/agreement/ license · 0 weekly downloads

## Install

```sh
npm install cfn-custom-resource-response
pnpm add cfn-custom-resource-response
yarn add cfn-custom-resource-response
bun add cfn-custom-resource-response
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-02-20 |
| First published | 2019-02-20 |
| Weekly downloads | 0 |
| License | A copy of the License is located at http://aws.amazon.com/agreement/ |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Amazon Web Services, Inc. or its affiliates |
| Maintainers | francismeynard |
| Keywords | aws, cloudFormation, cloud, formation, lambda, function, cfn-response, response, customResource, custom, resource |

## Links

- npm: https://www.npmjs.com/package/cfn-custom-resource-response
- Repository: https://github.com/francismeynard/aws-journey
- Homepage: https://github.com/francismeynard/aws-journey/tree/master/cfn-custom-resource-response#readme
- Issues: https://github.com/francismeynard/aws-journey/issues
- npm.io page: https://npm.io/package/cfn-custom-resource-response

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-02-20

## README

# cfn-custom-resource-response

```bash
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](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-cfnresponsemodule).

## Usage

```nodejs
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](https://github.com/francismeynard/aws-journey/tree/master/cfn-template-cognito-app-client).

---
_Source: https://npm.io/package/cfn-custom-resource-response · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
