aws ec2 describe-images --owners 309956199498 --query 'sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]' --filters "Name=name,Values=RHEL-8*" --region <region> --output table
Make sure you leave the owners
as is (or update it for another distro). But you can change filters
and region
as required.