This package has been deprecated

Author message:

Moved to @nordicsemiconductor/cloudformation-helpers

@bifravst/cloudformation-helpers
TypeScript icon, indicating that this package has built-in type declarations

5.0.3 • Public • Published

CloudFormation Helpers npm version

GitHub Actions Known Vulnerabilities semantic-release Renovate Mergify Status Commitizen friendly code style: prettier ESLint: TypeScript

Helper functions which simplify working with AWS CloudFormation stacks.

Installation

npm i --save-dev @bifravst/cloudformation-helpers

Usage

cfnResponse

cfnResponse implements sending custom resource responses.

import { cfnResponse, ResponseStatus } from "@bifravst/cloudformation-helpers";
import { CloudFormationCustomResourceEvent } from "aws-lambda";

/**
 * Lambda creating a custom resource
 */
export const handler = async (
  event: CloudFormationCustomResourceEvent
): Promise<void> => {
  // Create custom resource ...

  await cfnResponse({
    Status: ResponseStatus.SUCCESS,
    event,
    PhysicalResourceId: "MyCustomResource",
  });
};

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @bifravst/cloudformation-helpers

Weekly Downloads

127

Version

5.0.3

License

BSD-3-Clause

Unpacked Size

368 kB

Total Files

16

Last publish

Collaborators

  • bifravst-ci
  • coderbyheart