小编Gur*_*lal的帖子

lambda 处理程序 for 循环中的记录“for record in event['Records']:”在哪里?

一个天真的问题,有谁知道 for 循环中的记录来自哪里?我知道解析发生在下面,但不确定记录字典来自哪里

def handler(event, context):
  for record in event['Records']:
    bucket = record['s3']['bucket']['name']
    key = record['s3']['object']['key']
Run Code Online (Sandbox Code Playgroud)

parsing for-loop amazon-web-services aws-lambda

4
推荐指数
1
解决办法
4355
查看次数