ec2

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstance

func CreateInstance(session *session.Session, amiId, key, tag, instanceProfileName, subnetId, name string) (string, error)

func ListInstances

func ListInstances(session *session.Session, key string, value string, maxAge float64) ([]*string, error)

func TagInstance

func TagInstance(session *session.Session, instanceId, key, value string) error

func TerminateEc2Instances

func TerminateEc2Instances(session *session.Session, instances []*string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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