fog/fog — pull request #2894 by jordan0day (2014-05-01 15:51:56+00:00)
Title: Add the DisableApiTermination flag to the AWS Server model, so it can be...

... sent on instance creation

From RunInstances documentation (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-RunInstances.html)

"DisableApiTermination
If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. If you set this parameter to true and then later want to be able to terminate the instance, you must first change the value of the disableApiTermination attribute to false using ModifyInstanceAttribute. Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you can terminate the instance by running the shutdown command from the instance.

Type: Boolean

Default: false

Required: No"