Can i use python boto to change the shutdown behavior of my instance:
Basically, the same thing that we change from the the web interface:

The code i use to run the instance is:
# Create and run a instance based on our predefined image
reservation= conn.run_instances(
'ami-0072ee30',
key_name='rajat',
instance_type=instance_requested_type)
spot instance request:
reservs = conn.request_spot_instances(
float(max_bid),
'ami-0072ee30',
count=1,
type='one-time',
instance_type=instance_requested_type)