getLatestAmazonMachineImage Provide an AMI name or substring, and this Lambda-backed custom resource retrieves the latest AMI ID. Intended for CloudFormation.