('Hello from Lambda!'), }; return response; }; Runtime: nodejs18.x TracingConfig: Mode: Active version: Type: AWS::Lambda::Version Properties: FunctionName: !Ref function asyncconfig: Type: AWS::Lambda::EventIn
The ID of the Lambda function to invoke. This argument is optional. If your application contains a single Lambda function, the AWS SAM CLI will invoke it. If your application contains multiple functions, provide the ID of the function to invoke. Valid values: The resource's logical ID...
AWS Lambda Hello World示例Typescript:“sam local invoke”给出错误:无法找到模块'app'......