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
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/aws-lambda
Credits
These definitions were written by Artur Androsovych.