如何找到只有 id 的 Amazon EC2 AMI?

How to find Amazon EC2 AMI only have the id?

我有的是 AMI id(类似于 ami-06358f49b5839867c) 我在这个 Karamel script

中看到的案例是 AMI

我如何找到有关该 AMI 的信息,例如名称、区域...?

使用describe-images:

aws ec2 describe-images --image-ids ami-06358f49b5839867c