Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeInstanceByID ¶ added in v0.0.68
func DescribeInstanceByID(instanceID string) (*ec2.DescribeInstancesOutput, error)
func DescribeInstanceByName ¶ added in v0.0.68
func DescribeInstanceByName(instanceName string) (*ec2.DescribeInstancesOutput, error)
Types ¶
type InstanceDetail ¶
func GetEC2InstanceDetail ¶ added in v0.0.68
func GetEC2InstanceDetail() ([]InstanceDetail, error)
GetEC2InstanceDetail return a struct that contains {InstanceName, InstanceID} for every EC2 instances
Click to show internal directories.
Click to hide internal directories.