标签: javascript aws-lambda amazon-cloudwatch
关于此lambda代码,我有两个问题:
'use strict'; module.exports.hello = async (event, context) => { console.log('IP = ' + event.requestContext.identity.sourceIp); return { statusCode: 200, body: event.requestContext.identity.sourceIp }; };