Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2016 Changes in this version + const DefaultProfile + func GetProfile() string + func GetProfiles(configFile ...string) []string + func GetRegion() string + func GetRegionFromConfigFile(configFile, profile string) (string, error) + func GetRegionFromInstanceIdentityDocument() string + func GetSharedConfigFile() string + func GetSharedCredentialsFile() string + func NewConfig(opt Option) (*aws.Config, error) + func NewCredentials(opt Option) *credentials.Credentials + func NewSession(arg ...interface{}) (*session.Session, error) + type Option struct + AccessKey string + Config string + Credentials string + Profile string + Region string + SecretKey string + Token string