As far as I'm aware, the range of possible IP addresses for Lambdas is enourmous, and likely would not make for a good element to include in your security posture for use with Functions. Implementing your own certificate and utilizing mTLS seems like a much more reasonable approach. Your mileage may vary.