Here’s how to list AWS AMI (machine images) owned by yourself.

<pre lang="bash">aws ec2 describe-images \
--query "Images[*].[Name,PlatformDetails]" \
--owners self \
--profile default \
--region us-east-1 \
--output text

Output:

<pre lang="bash">
icecast-0.1     Linux/UNIX
jekyll-0.3      Linux/UNIX
docker-0.1      Linux/UNIX

Specifying owners as self only display images owned by you.