ec2

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListDetachedVolumes

func ListDetachedVolumes() error

ListDetachedVolumes will list all EBS volumes that are in a Detached state, along with predicted associated cost.

func ListMonitoringEnabled

func ListMonitoringEnabled() error

ListMonitoringEnabled will list EC2 instances with CW Enhanced Monitoring enabled.

func ListPemKeyUsage added in v1.8.0

func ListPemKeyUsage() error

ListPemKeyUsage will generate a report of named pem keys used at creation of an EC2 host

func ListStoppedHosts

func ListStoppedHosts() error

ListStoppedHosts will list all stopped EC2 hosts and attached EBS Volumes for those hosts for a given region.

Types

type Info added in v1.11.0

type Info struct {
	ID         string
	Name       string
	State      string
	InternalIP string
	ExternalIP string
}

func GetEC2IPs added in v1.11.0

func GetEC2IPs() ([]*Info, error)

func GetInterfaceIPs added in v1.12.0

func GetInterfaceIPs() ([]*Info, error)

Jump to

Keyboard shortcuts

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