I don't know if the path has changed since the other answers were posted or if my answer is specific to Windows Server 2016, but I found the logs in C:\Windows\System32\config\systemprofile\AppData\Local\Temp\Amazon\EC2-Windows\Launch\InvokeUserData
under InvokeUserDataOutput.log
and InvokeUserDataError.log