简体   繁体   中英

how can I accesses AWS athena with lambda of other region even s3 is in another region?

我必须访问位于不同区域的 AWS Athena,而我想通过位于另一个区域的 lambda 访问它,并且输出 s3 存储桶位于 lambda 所在的区域我该怎么做

I dont know what language you are using in your lambda but for python you dot it be specifying the region when you create your athena client.

You can read more here: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM