I want to create Alias for AWS or create SHH config file for conetcting amazon using SSH

alias amazon=”ssh -o IdentityFile=~/home/user/Desktop/AWS Machines/file.pem dns.compute.amazonaws.com”

Result

ssh: Could not resolve hostname machines/file.pem: Name or service not known