Method: AWS::EC2::Instance#image

Defined in:
lib/aws/ec2/instance.rb

#imageImage

Returns The AMI used to launch the instance.

Returns:

  • (Image)

    The AMI used to launch the instance.



540
541
542
# File 'lib/aws/ec2/instance.rb', line 540

def image
  Image.new(image_id, :config => config)
end