mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
657 B
TypeScript
20 lines
657 B
TypeScript
// Type definitions for cfn-response 1.0
|
|
// Project: https://github.com/LukeMizuhashi/cfn-response
|
|
// Definitions by: Ivo Murrell <https://github.com/ivoisbelongtous>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
import { CloudFormationCustomResourceEvent, Context } from "aws-lambda";
|
|
|
|
export type ResponseStatus = "SUCCESS" | "FAILED";
|
|
export const SUCCESS: ResponseStatus;
|
|
export const FAILED: ResponseStatus;
|
|
|
|
export function send(
|
|
event: CloudFormationCustomResourceEvent,
|
|
context: Context,
|
|
responseStatus: ResponseStatus,
|
|
responseData?: object,
|
|
physicalResourceId?: string
|
|
): void;
|