Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
NewSession enhances newSession by adding support for assuming a role not specified in the AWS profile. The third parameter is the ARN of the role to assume.
Both the session calls the STS API to assume the role and the session uses the assumed role credentials use the specified region and the profile.
If we need to use separate regions and profiles for each session, we might need to enhance this function further. That's another story though...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.