Did you mean a working AMI with DL 10.1.23.6 and H19.5.x ?
If you use one of Thinkbox Deadline Worker base images (we use linux), then you can update/install the nvidia driver and then install H19.5.303, etc.
If you are using H19.5 with the py39 libs, please follow what Anthony has already posted:
Oh, and if you’re using the ROP, remember to copy the HoudiniSubmitter (the Deadline.hda is in there) to the AMI if it is not in a centralized location that the cloud node can find.