package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

IsRunningOnAWS indicates if the current running process appears to be running on an AWS instance by checking the availability of the AWS metadata API.
NewLocalInstance creates a new Instance describing the AWS instance we are running on.
SupportedInstanceTypes returns a subset of the provided instance types list without the types that are not supported in the specified region.
SupportsInstanceType returns true if instances of the specified type can be provisioned in the specified region.

# Constants

Beijing is the Beijing region.
Canada is the Canada Central region.
Frankfurt is the Europe (Frankfurt) region.
Ireland is the Europe (Ireland) region.
London is the Europe (London) region.
Mumbai is the Asia Pacific (Mumbai) region.
NCalifornia is the US west (North California) region.
NVirginia is the US east (North Virginia) region.
Ohio is the US east (Ohio) region.
Oregon is the US west (Oregon) region.
OsakaLocal is the Asia Pacific (Osaka) region.
Paris is the Europe (Paris) region.
Seoul is the Asia Pacific (Seoul) region.
Singapore is the Asia Pacific (Singapore) region.
SPaulo is the South America (São Paulo) region.
Sydney is the Asia Pacific (Sydney) region.
Tokyo is the Asia Pacific (Tokyo) region.

# Variables

Regions defines a map of supported EC2 regions to various attributes like machine image to use in any specific region.

# Structs

Instance defines an AWS instance and provides access to basic attributes such as instance id, the name of the node and the list of instance tags.
RegionMapping defines the data an AWS EC2 region is mapped to.

# Type aliases

RegionName defines an AWS EC2 region by name.