What's the use case for RoleSessionName when assuming a role in AWS and how it affects the performance
I have a scenario in which I want to have access to resources within one account from another one in AWS (cross-account access) in code. And I want to implement this access using NodeJs, implemented as lambda function and also as a long-running code on EC2. Reading how to do this online, I know I need temporary credentials generated by aws.STS , like this: c