1 Answer
- Newest
- Most votes
- Most comments
2
Hi,
You can write a lamba in Account A that accesses TimStream table in Account B via assuming a role in Account B.
So, the Lambda function will need to assume a role in the Timestream account. The role in the Timestream account will need to have a trust policy that allows this and an execution role/policy that allows access to Timestream. See: How do I configure a Lambda function to assume an IAM role in another AWS account?.
Best,
Didier
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago

I dont want to query in Lambda. I wanna query in query editor..so after your solution, can I have a query in 'Timestream query editor' inside account B for tables of account A?