Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

instance-initiated-shutdown-behavior

43 views
Skip to first unread message

Ankur

unread,
Apr 22, 2011, 9:45:38 PM4/22/11
to ruby-aws
Is there any way to set this during an instance launch? It is one of
the optional parameters for the command line. I want to set it for
the non-default of terminate and am wondering how to do it

http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/index.html?ApiReference-cmd-RunInstances.html

Travis Reeder

unread,
Apr 26, 2011, 1:58:06 AM4/26/11
to ruby...@googlegroups.com
Might need a patch for that one, think that's a fairly recent addition to ec2.


--
You received this message because you are subscribed to the Google Groups "ruby-aws" group.
To post to this group, send email to ruby...@googlegroups.com.
To unsubscribe from this group, send email to ruby-aws+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ruby-aws?hl=en.


Ankur Sethi

unread,
Apr 26, 2011, 6:14:25 AM4/26/11
to ruby...@googlegroups.com
No, actually I looked at the source code and it is in there!  It just wasn't in the method rdoc.  


      params['InstanceInitiatedShutdownBehavior'] = options[:instance_initiated_shutdown_behavior] unless Aws::Utils.blank?(options[:instance_initiated_shutdown_behavior])

Ankur
Reply all
Reply to author
Forward
0 new messages