Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Session ¶
func Session(opts ...SessionOption) (*session.Session, error)
Session returns an AWS session as described http://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html
func StderrTokenProvider ¶
StderrTokenProvider implements token provider for AWS SDK.
Types ¶
type SessionOption ¶
SessionOption is an option for session.
func AssumeRoleTokenProvider ¶
func AssumeRoleTokenProvider(provider func() (string, error)) SessionOption
AssumeRoleTokenProvider is an option for setting custom assume role token provider.
Click to show internal directories.
Click to hide internal directories.