session

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool struct {
	Sessions map[string]*Session
}

Pool contains a set of session configurations for the target profiles and regions

func NewPool

func NewPool(profiles []string, regions []string, logger *log.Logger) *Pool

NewPool is used to create a pool of AWS sessions with different profile/region permutations

type Session

type Session struct {
	Logger      *logrus.Logger
	Session     *session.Session
	ProfileName string
}

Session is an initialized session configuration for a target profile and region

Jump to

Keyboard shortcuts

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