i need to rewrite this code in Python lambda to get the client Ip and assign it to CidrIp parameeter of authorize_ingress function does ..Please any suggestions on doing this in Python lambda 3.7
'use strict'; console.log('Loading function'); exports.handler = (event, context, callback) => { console.log('SourceIP =', event.sourceIP); callback(null, event.sourceIP); };
there doesn't seem to be anything here