1.0.8 • Published 7 months ago
@types/cfn-response v1.0.8
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
// Type definitions for cfn-response 1.0
// Project: https://github.com/LukeMizuhashi/cfn-response
// Definitions by: Artur Androsovych <https://github.com/arturovt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
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: Thu, 23 Dec 2021 23:34:22 GMT
- Dependencies: @types/aws-lambda
- Global values: none
Credits
These definitions were written by Artur Androsovych.