Ec2

To list the latest AMI:

aws ec2 describe-images --owners 602401143452 --filters "Name=name,Values=amazon-eks-node-1.11*" --query 'sort_by(Images, &CreationDate)[-1].Name'

aws ec2 describe-images --owners amazon --filters "Name=name,Values=amazon-eks-node-1.11*" --query 'sort_by(Images, &CreationDate)[-1].id'