ec2-describe-image-attribute

From Amazon Elastic Compute Cloud: 2008-02-01

ec2-describe-image-attribute ami_id ( -l | -p )