vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/ec2/ec2.rb
# Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
# Instance must be either the running or stopped state
#
# ec2.create_image('i-4jhdmaw', 'New image')
#
Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
Instance must be either the running or stopped state


Creates an Amazon EBS - backed AMI from an Amazon EBS - backed instance Instance must be either the running or stopped state
def create_image(instance_id, name, description="")
      link = generate_request("CreateImage",
                              "InstanceId" => instance_id,
                              "Name" => name,
                              "Description" => description)
      request_info(link, QEc2CreateImageParser.new(:logger => @logger))
    rescue
        on_exception
    end
def create_image ( instance_id , name , description = "" ) link = generate_request ( "CreateImage" , "InstanceId" => instance_id , "Name" => name , "Description" => description ) request_info ( link , QEc2CreateImageParser . new ( :logger => @logger ) ) rescue on_exception end
Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
Instance must be either the running or stopped state
Creates an Amazon EBS - backed AMI from an Amazon EBS - backed instance Instance must be either the running or stopped state
instance_id
name
description