ec2

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 11 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