Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Regions []string
)
Functions ¶
func ListAndSaveRegions ¶
Types ¶
type Instance ¶
type Instance struct { types.Instance UserData string `json:"UserData,omitempty"` NetworkInterfaces []NetworkInterface InstanceState types.InstanceState }
Override SDK EC2 instance type to insert SecurityGroup information
func ListInstances ¶
func ListInstances(cfg aws.Config) (ec2s []*Instance, err *awshttp.ResponseError)
type NetworkInterface ¶
type NetworkInterface struct { types.InstanceNetworkInterface SecurityGroup []types.SecurityGroup }
Click to show internal directories.
Click to hide internal directories.