Besides given the near constant issues we see around misconfigured s3 bucket i am not sure the average cloud function meets security standard anyway.