awslib

package
v0.0.0-...-61e08ce Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSessions

func BuildSessions(regions []string) (map[string]*session.Session, error)

BuildSessions returns a map of sessions for each region using Environment Credentials

func BuildSessionsWithCredentials

func BuildSessionsWithCredentials(regions []string, creds *credentials.Credentials) (map[string]*session.Session, error)

BuildSessionsWithCredentials returns a map of sessions for each region using supplied credentials

func GetAllChinaRegions

func GetAllChinaRegions() []string

GetAllChinaRegions returns all regions for the AWS China Partition

func GetAllDBInstances

func GetAllDBInstances(sess *session.Session) ([]*rds.DBInstance, error)

GetAllDBInstances resturns a complete list of DBInstances for a given session

func GetAllInstances

func GetAllInstances(sess *session.Session) ([]*ec2.Instance, error)

GetAllInstances returns a complete list of instances for a given session

func GetAllRegions

func GetAllRegions() []string

GetAllRegions returns all regions for AWS except US-Gov and China

Types

This section is empty.

Jump to

Keyboard shortcuts

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