awsutil

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 4 Imported by: 0

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

func StderrTokenProvider() (string, error)

StderrTokenProvider implements token provider for AWS SDK.

Types

type SessionOption

type SessionOption func(*session.Options)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL