awsclient

package
v0.0.0-...-ee6749e Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Options struct {
	//AccessKey AWS access key
	AccessKey string
	//Secret AWS secret
	Secret string
	//SessionToken AWS session token
	SessionToken string
	//Region os AWS region
	Region string
	//MaxOnlineEvents is the maximal number of events to load from cloudtrail
	MaxOnlineEvents int
}

Options global options

Functions

func Analayze

func Analayze() error

Analayze downloads all items from cloud trail and analyzes them.

func AssumeRole

func AssumeRole() error

AssumeRole ...

func DumpBucket

func DumpBucket(bucket string, basefolder string) error

DumpBucket dumps all files from a bucket

func NewSession

func NewSession() (*session.Session, error)

NewSession creates new AWS session

Types

This section is empty.

Jump to

Keyboard shortcuts

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