@types/cfn-response
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Installation

npm install --save @types/cfn-response

Summary

This package contains type definitions for cfn-response (https://github.com/LukeMizuhashi/cfn-response).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cfn-response.

index.d.ts

import { CloudFormationCustomResourceEvent, Context } from "aws-lambda";

export const SUCCESS: "SUCCESS";
export const FAILED: "FAILED";
export type ResponseStatus = typeof SUCCESS | typeof FAILED;

export function send(
    event: CloudFormationCustomResourceEvent,
    context: Context,
    responseStatus: ResponseStatus,
    responseData?: object,
    physicalResourceId?: string,
    noEcho?: boolean,
): void;

Additional Details

Credits

These definitions were written by Artur Androsovych.

Dependents (3)

Package Sidebar

Install

npm i @types/cfn-response

Weekly Downloads

3,540

Version

1.0.8

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • types