Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForSpotInterruptionNotice ¶
CheckForSpotInterruptionNotice Checks EC2 instance metadata for a spot interruption termination notice
Types ¶
type InstanceAction ¶
type InstanceAction struct { Version string `json:"version"` Id string `json:"id"` DetailType string `json:"detail-type"` Source string `json:"source"` Account string `json:"account"` Time string `json:"time"` Region string `json:"region"` Resources []string `json:"resources"` Detail InstanceActionDetail `json:"detail"` }
InstanceAction metadata structure for json parsing
type InstanceActionDetail ¶
type InstanceActionDetail struct { InstanceId string `json:"instance-id"` InstanceAction string `json:"instance-action"` }
InstanceActionDetail metadata structure for json parsing
Click to show internal directories.
Click to hide internal directories.