Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Init Lambda based on typescript

export const handler = async (event: any = {}): Promise<any> => {
    console.log('Hello World!');
    const response = JSON.stringify(event, null, 2);
    return response;
}
Source by scotch.io #
 
PREVIOUS NEXT
Tagged: #Init #Lambda #based #typescript
ADD COMMENT
Topic
Name
5+9 =