ec2

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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, instanceIDs []*string) error

TerminateEc2Instances terminates EC2 instances by calling the AWS API.

Types

This section is empty.

Jump to

Keyboard shortcuts

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