AWS native detection using lambda