UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

8 lines (7 loc) 443 B
import { InvocationResponse } from '@aws-sdk/client-lambda'; export type DecodedInvocationResponse = Omit<InvocationResponse, 'Payload'> & { Payload?: string; }; export type InvokeFunction = (functionName: string, invocationType: string, timeout: number) => Promise<DecodedInvocationResponse>; export declare const invoke: InvokeFunction; export declare function handler(event: AWSLambda.CloudFormationCustomResourceEvent): Promise<void>;