PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, November 4, 2022

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

 November 04, 2022     amazon-s3, amazon-web-services, athena, lambda     No comments   

Issue

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


Solution

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



Answered By - Erik Asplund
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing