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

Time:06-13

I have to access AWS Athena which is in a different region, whereas I want to access it through lambda which is in another region also output s3 bucket is in the region where lambda is there how can I do that

CodePudding user response:

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

  • Related