Getting AWS AMI properties

AmirHBP picture AmirHBP · Aug 22, 2012 · Viewed 7.3k times · Source

I have a list of AMIs, which I got by creating a boto connection:

conn_eu = boto.ec2.connect_to_region('eu-west-1')
images = conn_eu.get_all_images(owners=['me'])

I want to be able to see the properties of these AMIs. Properties such as their descriptions, names and their image ids.

Answer

AmirHBP picture AmirHBP · Aug 22, 2012

After looking at image.py, I realised I can just do: image.id to get image id and image.description to get image description