AWS API Gateway: How to pass IAM identity to Lambda function?
问题 I've successfully configured IAM-authenticated access to my Lambda function with AWS API Gateway front-end, but unable to find how to pass IAM user identity to my Lambda function. I need exactly IAM user identity and can not run Lambda function under calling IAM-user credentials. All I need - is to get calling IAM-user identity in my Lambda function. Is there option for that? 回答1: Support for accessing identity and other information from the Amazon API Gateway request context hadn't been