AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: simple-app Globals: Function: Timeout: 30 Environment: Variables: BUGSNAG_API_KEY: BUGSNAG_NOTIFY_ENDPOINT: BUGSNAG_SESSIONS_ENDPOINT: BUGSNAG_AUTO_TRACK_SESSIONS: true BUGSNAG_AUTO_DETECT_ERRORS: true Resources: AsyncUnhandledExceptionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: async/ Handler: unhandled-exception.lambdaHandler Runtime: nodejs18.x Events: AsyncUnhandledException: Type: Api Properties: Path: /async/unhandled/exception Method: get AsyncAsyncUnhandledExceptionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: async/ Handler: async-unhandled-exception.lambdaHandler Runtime: nodejs18.x Events: AsyncAsyncUnhandledException: Type: Api Properties: Path: /async/async/unhandled/exception Method: get AsyncHandledExceptionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: async/ Handler: handled-exception.lambdaHandler Runtime: nodejs18.x Events: AsyncHandledException: Type: Api Properties: Path: /async/handled/exception Method: get AsyncPromiseRejectionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: async/ Handler: promise-rejection.lambdaHandler Runtime: nodejs18.x Events: AsyncPromiseRejection: Type: Api Properties: Path: /async/promise/rejection Method: get CallbackUnhandledExceptionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: callback/ Handler: unhandled-exception.lambdaHandler Runtime: nodejs18.x Events: CallbackUnhandledException: Type: Api Properties: Path: /callback/unhandled/exception Method: get CallbackThrownUnhandledExceptionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: callback/ Handler: thrown-unhandled-exception.lambdaHandler Runtime: nodejs18.x Events: CallbackThrownUnhandledException: Type: Api Properties: Path: /callback/thrown/unhandled/exception Method: get CallbackHandledExceptionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: callback/ Handler: handled-exception.lambdaHandler Runtime: nodejs18.x Events: CallbackHandledException: Type: Api Properties: Path: /callback/handled/exception Method: get CallbackPromiseRejectionFunctionNode18: Type: AWS::Serverless::Function Properties: CodeUri: callback/ Handler: promise-rejection.lambdaHandler Runtime: nodejs18.x Events: CallbackPromiseRejection: Type: Api Properties: Path: /callback/promise/rejection Method: get