aws

package
v0.0.0-...-b9d6626 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ConfigIniPath is the path AWS credentials file
	ConfigIniPath = defaults.SharedConfigFilename()
)

Functions

This section is empty.

Types

type MatchedEni

type MatchedEni struct {
	Display string
}

MatchedEni holds info on ENIs that matched an IP

func InterfacesWithIP

func InterfacesWithIP(profileSession *ProfileSessionType, ip string) []MatchedEni

InterfacesWithIP gets all ENIs that match the IP in the AWS profile and region ("" = default region)

type ProfileSessionType

type ProfileSessionType struct {
	Profile string
	Region  string
	Session *session.Session
}

ProfileSessionType holds info about an AWS profile session

func ProfileSession

func ProfileSession(profile, region string) *ProfileSessionType

ProfileSession returns an AWS session for a profile

Jump to

Keyboard shortcuts

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